git.fiddlerwoaroof.com
Browse code

Add README

fiddlerwoaroof authored on 14/08/2017 21:13:45
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,11 @@
1
+# (insert clever name here)
2
+
3
+A whitelist-based cleaner for html5 in Common Lisp.  It removes any
4
+elements or attributes that don't match a whitelist and then dumps the
5
+result as a string.  In order to deal with Microsoft conditionals, we
6
+also strip out all the comments.  We depend on
7
+[plump](https://github.com/Shinmera/plump) to handle html parsing, but
8
+we extend it so with a HTML-compatible serialization mode that
9
+prevents certain elements from self-closing.
10
+
11
+Enhancements and security fixes welcome.