• WP munges the text that authors post on my blog by converting “&” to “&”, etc, apparently before that text gets stored in the database. This munging is a big problem for two reasons:

    1. When an author clicks “save as draft” he will see his post content change, which is disturbing.
    2. We’re using Markdown (Extra), and this text might well be within a (fenced) code block, as a result, the text is entity-ized too early and the plugin causes us to display the entity verbatim.

    I’ve also seen this munging with comments, although that doesn’t seem to be happening these days for reasons I don’t understand. The wierdest thing is that munging of posts doesn’t happen to posters with the admin role, so I assume it’s some kind of security thing. Is there a way I can disable that munging for everyone?

    I’ve been able to find some information about how WP processes posts for display after they’re in the database, but I’ve found nothing about this pre-processing stage.

    Thanks,
    Dave

Viewing 1 replies (of 1 total)
  • The above ampersands look the same, probaby since this forum changes it also. If you are editing in html mode you are going to see the html entities that represent the characters you are trying to place in the blog. In the case of an ampersand the html equivalent is an ampersand, followed by “amp” followed by a semi-colon. If you do not want the editors to see this you should have them edit in a wysiwyg editor or the “Visual” editing mode. If they are comfortable with html they should recognise the change.

    Please let me know if I misunderstood the issue. Its hard to be sure since, as i said, the ampersands are the same in your post, so I’m not entirely sure what you are seeing

    [signature moderated Please read the Forum Rules]

Viewing 1 replies (of 1 total)
  • The topic ‘Turn off post and comment preprocessing?’ is closed to new replies.