Anybody know why, when I parse the following -
I get
instead of
i.e. the ampersand and the text to it's left are lost. The same happens with " and I suspect will happen with other entity references.
Please note - I had to put a space between the & and amp; to get the post to display properly. In my real code there is no space.
Code:
<foo>fred & amp; barney</foo>
I get
Code:
barney
Code:
fred & barney
i.e. the ampersand and the text to it's left are lost. The same happens with " and I suspect will happen with other entity references.
Please note - I had to put a space between the & and amp; to get the post to display properly. In my real code there is no space.