leedo / noembed

oEmbed gateway service with additional non-oEmbed sources
http://www.noembed.com
481 stars 90 forks source link

Service returns invalid HTML because " is converted to " #80

Closed Overv closed 7 years ago

Overv commented 7 years ago

An example request where this happens:

https://noembed.com/embed?url=http://xkcd.com/1726/

The title attribute contains quotes that are correctly escaped on the XKCD site with ", but the noembed scraper turns them into actual quotes, resulting in invalid HTML.