Article 4W8AN how to print an ampersand in posts and comments

how to print an ampersand in posts and comments

by
dogpatch
from LinuxQuestions.org on (#4W8AN)
In this thread (2nd post), I can't answer the OPs question because i can't get an ampersand to print, either within [CODE] tags or otherwise.

I would like to print [ampersand]#10; to designate one way to represent a newline character.

If i use '&' to print an ampersand, i get '&' literally; the initial ampersand doesn't get interpreted.

If i use [ampersand]#38; to print an ampersand, it interprets the ampersand AND the following '#10;', and i get nothing but a whitespace.latest?d=yIl2AUoC8zA latest?i=97rGDdICYZM:6szlHD9ys-k:F7zBnMy latest?i=97rGDdICYZM:6szlHD9ys-k:V_sGLiP latest?d=qj6IDK7rITs latest?i=97rGDdICYZM:6szlHD9ys-k:gIN9vFw97rGDdICYZM
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments