HTML renders in editor, but displays as code/tags outside
-
Hi there
I’m using this to change a few labels and messages in WooCommerce with the Astra Pro theme.
I’m inserting some simple HTML into the string and it renders correctly when I click Save Translation. However, when I visit the page to test it, the HTML is displayed as straight HTML code/tags.
This screenshot shows the message in the editor and on the far right shows the message for an anonymous visitor in another browser.
I’ve also tried selecting to ‘View as Logged Out” and it still works inside the editor, so I’m unsure if the authenticated state causes this or something else.
I’ve checked the docs and the troubleshooting and also read through several pages on the forum here after searching ‘HTML’.
I also tried changing the code like this as I used to do in a different CMS but that came out the same:
<a href="/contact" target="_blank"><b>contact page</b></a>
Thanks for any advice on this one.
Regards
Rob
- The topic ‘HTML renders in editor, but displays as code/tags outside’ is closed to new replies.