WordPress.org

Ready to get started?Download WordPress

Forums

WP 3.5 Text Editor Changes Tags (1 post)

  1. Robert
    Member
    Posted 1 year ago #

    Trying to create a Google Custom Search Results page in WordPress 3.5. All plugins are disabled.

    When I edit the page in "Text" mode to add the line:
    <gcse:searchresults-only></gcse:searchresults-only>

    and press Publish, the tags are automatically changed in the Text Editor to:
    <gcse:searchresults -only></gcse:searchresults>

    Notice the 1st tag now has a white space and the "-only" has been removed from the closing tag!

    How can I disable whatever is changing the tags? I've tried the Raw HTML plugin with the same result in the Text Editor. Adding the tags in the Visual Editor with Raw HTML just renders the tags as plain text in the browser instead of the Google CSE results.

    Thanks for you help.

Topic Closed

This topic has been closed to new replies.

About this Topic