yesodweb / haskell-xss-sanitize

prevent XSS attacks by sanitizing html (this is different then escaping!)
Other
20 stars 15 forks source link

Add figcaption to acceptable_elements #6

Closed duairc closed 10 years ago

duairc commented 10 years ago

I was trying to write a gitit plugin for figures with captions and I couldn't figure out why it wasn't working. Turns out it was the XSS sanitization filtering out the figcaption tags.

gregwebs commented 10 years ago

Thanks, that is a newer tag. It exists in the white list source now.

gregwebs commented 10 years ago

released to hackage

duairc commented 10 years ago

Thanks for merging this so quickly, and uploading to Hackage! I was in a hurry earlier so I didn't look over the list thoroughly to see if there were any other elements that should be included. I just had a look now and I noticed that the <main> element isn't there, perhaps it should be? Everything else seems to be there.

gregwebs commented 10 years ago

thanks, I will also adding <main>