WordPress.org

Ready to get started?Download WordPress

Forums

WP-Syntax
[resolved] HTML Code Getting Escaped (3 posts)

  1. randyhoyt
    Member
    Posted 1 year ago #

    I'm inserting two separate blocks of code into my post, one HTML and one CSS. The CSS works perfectly. The HTML block looks right in the visual editor in WordPress, but when I preview it in the browser the code is getting double-escaped so that I see the four characters for the HTML entity (&-g-t-;) instead of seeing a greater-than sign. Any thoughts?

    http://wordpress.org/extend/plugins/wp-syntax/

  2. randyhoyt
    Member
    Posted 1 year ago #

    I just discovered the escaped="true" attribute, which works nicely. The problem is that the visual editor removes that attribute. I'll mark this one as resolved and then open a different support ticket for that.

  3. randyhoyt
    Member
    Posted 1 year ago #

    [removed by original poster]

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.