Greg Weber
e6ce233477
add the main tag
2014-03-30 17:42:14 -07:00
Shane
8abe577923
Add figcaption to acceptable_elements
...
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.
2014-03-30 15:41:17 +01:00
Alex Sayers
e411a56211
Export 'sanitaryURI'
2014-03-06 18:33:05 +01:00
John Lenz
81134e7d52
Export a balanceTags filter and clean up the documentation a little
2013-06-28 21:42:56 -05:00
Michael Snoyman
2ee7ec4738
Larger void elements list
2012-12-31 13:03:23 +02:00
Greg Weber
953b64d319
expose sanitizeAttribute. Thanks John MacFarlane
2012-05-14 08:12:39 -07:00
Greg Weber
0d1b6f5677
Revert "attoparsec 0.10"
...
This reverts commit 9c901f5785 .
2011-11-29 07:14:18 -06:00
Michael Snoyman
9c901f5785
attoparsec 0.10
2011-11-28 19:55:28 +02:00
Greg Weber
773f3951e1
white space removal
2011-08-09 09:32:36 -07:00
Greg Weber
66545752c6
fix up css parsing
2011-08-09 09:24:16 -07:00
Greg Weber
ae3b146712
fix for new css-text api
2011-08-08 21:20:39 -07:00
Greg Weber
844a580533
css support
2011-08-08 21:12:04 -07:00
Greg Weber
193800f075
upper case tags and attributes were rejected
...
lower case them all. Goes against my philosophy of trying to not modify.
But it is easier, and uppercase is completely deprecated.
2011-03-04 16:31:53 -08:00
Greg Weber
6c9dcd775f
add type signature, remove comment
2011-01-05 20:17:40 -08:00
Greg Weber
73b4d57d61
filtering was crashing on relative URIs
...
relative URIs should be pass through fine
2010-11-26 17:09:12 -08:00
Greg Weber
27f5f0bd2d
sanitize now the preferred name over sanitizeXSS
2010-11-01 16:27:03 -07:00
Greg Weber
d501579948
document, test, and name function sanitizeBalance
2010-11-01 16:21:31 -07:00
Michael Snoyman
018ee4889a
sanitizeBalanceXSS
2010-11-01 17:38:31 +02:00
Michael Snoyman
023a56c391
Unbalanced close tags become self-closing tags
2010-11-01 15:19:07 +02:00
Michael Snoyman
6de5d2e8d2
Deal with non-closing tags
2010-10-31 23:06:11 +02:00
Michael Snoyman
99a0388dc2
Ensure balanced tags
2010-10-31 23:03:40 +02:00
Greg Weber
f2b4400472
use html5lib as reference instead of Pandoc
2010-10-02 16:38:07 -07:00
Greg Weber
eb5b78d429
export just sanitizeXSS
2010-09-26 08:09:49 -07:00
Greg Weber
5dbc1428a8
remove comment
2010-09-25 13:33:22 -07:00
Greg Weber
c9765daaed
finish cabalizing package
2010-09-25 13:31:37 -07:00
Greg Weber
705b84b75b
turn tagPosition off - test passes
2010-09-24 12:15:12 -07:00
Greg Weber
b051155461
minimize br and img
2010-09-24 09:14:15 -07:00
Greg Weber
548aa9a8aa
sanitizing implemented!
2010-09-23 18:09:48 -07:00