• Resolved Fanaticweb

    (@fanaticweb)


    Is it normal to see html code converted into character entity reference code in the source code?

    Example in a Category description, I inserted the following HTML code:
    Ads have moved to NewDomain.com

    Yet when I view the Source code of that Category page, I see the following:

    Ads have moved to <a href=&quot;https://www.newdomain.com/&quot; title=&quot;New Domain&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;>NewDomain.com</a></h2>">NewDomain.com</a>

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Arno Esterhuizen

    (@arno_esterhuizen)

    Hi, fanaticweb

    This is unusual, but can you tell me where you’re copying the code from (or are you manually typing they code out in the editor window)?

    Let me know, and I can try to do some troubleshooting and see what I can find.

    Thanks
    Arno

    Plugin Author Arno Esterhuizen

    (@arno_esterhuizen)

    I’ve just tested with the code below, and it seems to be working fine in WordPress 5.4. What version of WordPress are you using? Also, can you send me a list of the plugins you have installed, as well as the name of the theme?

    Try and see if the below works better:

    <p>Ads have moved to <a href="https://www.newdomain.com/" title="New Domain" target="_blank" rel="noopener noreferrer">NewDomain.com</a></p>

    Plugin Author Arno Esterhuizen

    (@arno_esterhuizen)

    Resolving this as there has been no recent feedback.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Source code shows non-html code’ is closed to new replies.