• I posted some HTML code into the WYSIWYG editor to post an article. But somehow the HTML code gets rewritten and is being messed up.

    For example, this code:
    <h3><a href="http://www.example.com" name="example">Example</a></h3>
    Description text

    has been rewritten to:

    <h3><a name="example"></a>Example</h3>
    <a name="example"></a><a name="example"></a>Description text

    Anchor tags have been added and the href attribute has been removed. How can I avoid this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Try:

    <a href="http://www.example.com" name="example"><h3>Example</h3></a>
    Description text

    If that doesn’t work, try disabling the rich text editor in your user profile.

    >I posted some HTML code into the WYSIWYG editor to post an article.

    You paste it into the wysiwig directly? Or click the html button and paste it in there?

    Thread Starter anandg

    (@anandg)

    I clicked the HTML button and pasted the HTML code in there.
    I have disabled the rich text editor. Now when I paste the code it doesn’t rewrite the code.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘HTML Code is being messed up by the WYSIWYG editor’ is closed to new replies.