jsoup icon indicating copy to clipboard operation
jsoup copied to clipboard

Whitelist.relaxed() - no HTML5 tags

Open zafarella opened this issue 7 years ago • 1 comments

Hi there,

My question is, how you guys was adding html5 tags. I was normally using https://jsoup.org/apidocs/org/jsoup/safety/Whitelist.html#relaxed-- and was doing my cleaning, however, recently came over the figure and few other tags (https://www.w3.org/TR/html5/grouping-content.html#the-figure-element), which is part of html5 spec.

What is the workaround u use? Just whitelisting tags ? Thanks in advance

zafarella avatar Mar 30 '17 20:03 zafarella

If you would like to send in a PR I'd be happy to review, thanks.

jhy avatar Jun 09 '17 06:06 jhy