Title: Source code shows non-html code
Last modified: March 14, 2020

---

# Source code shows non-html code

 *  Resolved [Fanaticweb](https://wordpress.org/support/users/fanaticweb/)
 * (@fanaticweb)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/source-code-shows-non-html-code/)
 * 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](https://www.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](https://wordpress.org/support/users/arno_esterhuizen/)
 * (@arno_esterhuizen)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/source-code-shows-non-html-code/#post-12551185)
 * 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](https://wordpress.org/support/users/arno_esterhuizen/)
 * (@arno_esterhuizen)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/source-code-shows-non-html-code/#post-12551225)
 * 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](https://wordpress.org/support/users/arno_esterhuizen/)
 * (@arno_esterhuizen)
 * [6 years ago](https://wordpress.org/support/topic/source-code-shows-non-html-code/#post-12891473)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/allow-html-in-category-descriptions_eaf1f1.
   svg)
 * [Allow HTML in Category Descriptions](https://wordpress.org/plugins/allow-html-in-category-descriptions/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/allow-html-in-category-descriptions/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/allow-html-in-category-descriptions/)
 * [Active Topics](https://wordpress.org/support/plugin/allow-html-in-category-descriptions/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/allow-html-in-category-descriptions/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/allow-html-in-category-descriptions/reviews/)

## Tags

 * [encoding](https://wordpress.org/support/topic-tag/encoding/)

 * 3 replies
 * 2 participants
 * Last reply from: [Arno Esterhuizen](https://wordpress.org/support/users/arno_esterhuizen/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/source-code-shows-non-html-code/#post-12891473)
 * Status: resolved