logoalt Hacker News

quietbritishjim • today at 3:45 PM • 2 replies • view on HN

Surely whatever is putting in the <pasted_content ...> tags is also escaping the pasted content with e.g. < to &lt;


Replies

nialse • today at 3:57 PM

Put in a CDATA section and all bets are off. Maybe that is the next benchmark? Parse this XML correctly. Oh, by the way it must be valid, and here is a DTD. Using code is cheating.

➕ show 1 reply