• Resolved bernhardv

    (@bernhardv)


    Hi all,

    I found a problem using the wp-syntax plugin on my blog.

    When I add entities like ‘<‘ and ‘>’ in my visual editor inside the <pre lang=”php”> … the editor converts them to &lt ; and &gt ;, but on the blog itself it shows also &lt ; and &gt ; instead of ‘<‘ and ‘>’

    Anyone who noticed this problem to, or knows a solution?

    tnx
    Bernhard

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’m getting the same problem.

    I took a look at the plugins code and it looks like it has checks in place to convert back the < and > when it highlights the code, but it isn’t working.

    I switched to HTML mode in the editor and reverted the encoding myself. It seems to be working now. I didn’t do this originally because I thought it would have messed up the rendering of the blog post. It didn’t!

    A workaround for now would be to paste your code in HTML mode.

    BernhardV, Sorry the visual editor isn’t officially supported, but if someone finds a workaround (aside from using the HTML editor), patches are gladly accepted.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP-Syntax] <> &gt &lt mixed up?’ is closed to new replies.