Originally Posted by Your Virtual Wizard
|
I need to write a piece of html that should show in my newsletter copy as a full line of code, as is and not made into a live link.
I used <pre> and </pre> before and after the entire link but that didn't work.
I'm trying to give instructions about how to make a link live using <a href= etc. so I want to show all characters and not have it convert.
Is this possible?
Thank you.
Janine
|
Hi Janine,
This is kind of timely.

In my January article in TVE I covered character entities, so they were on my brain when I read this. Cool.
If this is a newsletter using HTML, you can try replacing instances of < with < and > with > instead of the actual < and > that gets read as HTML. These are character entities and are read and converted as text instead.
HTH and works for you!