TimoStaudinger / tern-openui5

đź›  Autocomplete for the OpenUI5 framework for your favorite code editor, powered by Tern.
Other
27 stars 3 forks source link

Crawler cannot handle non-escaped angle brackets #6

Open TimoStaudinger opened 8 years ago

TimoStaudinger commented 8 years ago

The webcrawler currently breaks on a documentation page in which > and < characters weren’t encoded properly. Since the crawling is done using Cheerio, this has to be fixed by either escaping the OpenUI5 docs properly (preferred), or by making Cheerio more forgiving.

@jpenninkhof has submitted this to the OpenUI5 bugtracker: SAP/openui5#875 Thanks for that!

A quick search of the crawler's output showed two instances that trip cheerio: