Support » Plugins » [Plugin: WP-Syntax] escaped=”true” being stripped

  • Hi there,

    I’ve just been testing out WP-Syntax and whenever I switch back to the visual editor all my > symbols get turned into &gt ;. So I thought I’d try using <pre escaped="true">. This works if I stay in HTML edit mode, but breaks if I switch back to the visual editor.

    Any thoughts?

    (any formatting outside of the norm with tinymce can be such a pain)

Viewing 5 replies - 1 through 5 (of 5 total)
  • Oh, hang on, it doesn’t really support the Visual Editor 🙁

    Perhaps it would be beneficial to also process shortcodes using this plugin – this would then enable the plugin to be used within the visual editor?

    [syntax lang="php"]<?php // your code here[/syntax]

    Yup, lack for good visual editor support is a pain. Sorry about that. Yes, agreed on shortcodes. WP-Syntax precedes WP’s shortcode support, but I would be very willing to accept a well written [syntax] shortcode patch for the plugin. The plugin would need to maintain backwards compatibility for the old format though.

    I just found this plugin which prevents attributes you specify from being stripped from the visual editor.

    How about building some of this functionality into WP Syntax to prevent the “line” and “escaped” attributes from being stripped?

    husobj, Thanks. I’ll take a look at that when I get a chance. Looks good. Meanwhile, patches are always helpful.

    Hi, I think this problem could quite easily be resolved by merging with your a plug-in a similar solution to that which I have recently posted on my blog.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: WP-Syntax] escaped=”true” being stripped’ is closed to new replies.