WordPress.org

Ready to get started?Download WordPress

Forums

WP1.x - Link Category Formatting Issue (3 posts)

  1. asx
    Member
    Posted 9 years ago #

    I've set up my site so that my links don't use lists when being displayed. I have a string I insert after each entry of:
    <pre><span class="break"> | </span></pre>
    When I attempt to add this string, WP escapes the " characters, so the inserted text is:
    <pre><span class=\"break\"> | </span></pre>
    This breaks the page. My workaround is to ditch the quotes, but that breaks XHTML compliance.
    Is it possible to have this issue fixed so that the quotes won't be escaped, or is there a better workaround?

  2. Anonymous
    Unregistered
    Posted 9 years ago #

    Look in the options and there will be an option for WordPress to automatically correct XHTML. Uncheck that. (I think) that should fix your problem.

  3. asx
    Member
    Posted 9 years ago #

    The only place I see that option is in the Wirting Options->Formatting section (WordPress should correct invalidly nested XHTML automatically). Regardless of what this flag is set to, the behaviour in the Link Manager is the same. I'm curently using 1.2RC, should I be looking somewhere other than "Options"?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.