1 iceblock Apr 02, 2015 13:33
3 iceblock Apr 03, 2015 11:40
Is it Short Codes plugin? I tried to enable and disable this plugin, the result is the same for both.
4 mgsolipa Apr 04, 2015 00:26
5 fplanque Apr 04, 2015 02:40
No, I'm talking about the plugin named "Escape code" which has the description "Escapes html tags in code blocks" and which should be installed by default with priority 8.
Do you have this plugin installed and enabled (as "stealth") on your blog?
6 fplanque Apr 04, 2015 02:43
You should have this on your blog.
7 iceblock Apr 04, 2015 05:32
It's an existing blog so it wasn't enabled. It's now enabled and the setting is the same as screenshot, but still not showing the codeblock section correctly.
8 fplanque Apr 05, 2015 00:42
Once you have enabled the plugin, please go to the maintenance tools in the backoffice and click "clear pre-rendered content cache" to make sure that the plugin actually gets applied.
9 iceblock Apr 05, 2015 17:24
that fixed it! thanks!
10 iceblock Apr 05, 2015 18:27
Argh... so it worked on my dev server. When I copied the upgraded files to production, did the same to the admin - enabled escape code plugin and clear pre-rendered cache (and all other caches). The codeblock sections do not render properly. :(
Anything else I need to do?
11 fplanque Apr 05, 2015 21:48
There has to be a difference between your dev and prod server setup.
You can try making a new post to see if the plugin works. If yes then it's a cache issue for the old posts. If even the new posts doesn't work, then it's a plugin issue.
Is the plugin set to stealth on all blogs where you need it?
12 iceblock Apr 06, 2015 11:12
I thought there could be different settings on the servers, but I don't have in-depth skill to see what they are, other than the versions - both Ubuntu, V14.04.2 LTS (dev, hosted at home) and V14.04.1 LTS (prod, hosted on AWS). I'm not sure what to check.
The plugin is automatically set to stealth when enabled, and it's stealth on all blogs.
Here's what I tried. The output is fine when created a new post. When go to edit existing post, preview is also fine. Editing existing post and save, then output is fine.
Does this have to do with pre-rendered content not fully cleared (even though I tried to clear all of them via sysem > maintenance)?
13 fplanque Apr 06, 2015 20:10
Apparently it's only a caching issue. Maybe even a browser cache issue. Try clearing the cache from your browser.
In addition you may also try the maintenance tool that delete the full page caches.
14 iceblock Apr 08, 2015 17:58
It's not browser issue as it looks the same across various browsers. I have clear all the caches under maintenance.
I'll just go to individual posts to save them to fix this problem.
There is a new plugin specifically for escaping code. Can you fiddle with it? (I'm on my iphone, I can't look into details now)