Disabling Auto Link Generator with Entity Code


Problem: The content management system I'm using takes any URL it recognizes and changes it into a link. That's normally good EXCEPT if you want to create a fake URL as an example.

Solution: Replace the slash with its numeric entity code (/). Voilà - the system can't find the slashes anymore, so leaves the URL alone.

By the way, the entity code hack looks like this

Even ASCII characters sometimes need an entity code.

About The Blog

I am a Penn State technology specialist with a degree in linguistics and have maintained the Penn State Computing with Accents page since 2000.

See Elizabeth Pyatt's Homepage (ejp10@psu.edu) for a profile.


The standard commenting utility has been disabled due to hungry spam. If you have a comment, please feel free to drop me a line at (ejp10@psu.edu).

Powered by Movable Type Pro

Recent Comments