listicle icon indicating copy to clipboard operation
listicle copied to clipboard

HTML encoding support (?)

Open yitz-jacob opened this issue 10 years ago • 0 comments

When I checked out your cluetrain listicle I noticed that the content is displayed as raw HTML. (There's no escaping being done.) (clue #27 http://listicle.io/cluetrain/?clue=27) The text should read "the biggest complaint was the <blink> tag." But <blink> is missing because it's being rendered as a tag.

I wanted to know whether you, the author, viewed this as a flaw with the JSON input, or should the listicle be doing some kind of HTML escaping/encoding?

I'm happy to create a pull request with a fix including escaping/encoding but I wasn't sure if that was counter to the goals of listicle, and wanted to check with you first. (Sorry if I'm missing something obvious)

screenshot 2015-01-13 20 28 03

yitz-jacob avatar Jan 13 '15 18:01 yitz-jacob