[Plugin: WP-Syntax] JavaScript Operators Get Converted into HTML Entities – The Fix
-
When outputting < and > as well as some other opertators, the wordpress editor alters the output to display the html entities version of the code instead of the actual code so you end up with things like a for loop that looks like this:
for (var i = 0; i < 10; i++) { }Which will obviously break when you copy it to a script!
Please see my dev blog for how I fixed this:
http://www.isogenicengine.com/2011/04/23/wp-syntax-plugin-javascript-operators/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘[Plugin: WP-Syntax] JavaScript Operators Get Converted into HTML Entities – The Fix’ is closed to new replies.