summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttp://jblevins.org/ <http://jblevins.org/@web>2008-10-21 11:12:12 -0400
committerJoey Hess <joey@kitenet.net>2008-10-21 11:12:12 -0400
commitf635ff0d2904c54ea021500907cb5c61bca0ce5b (patch)
treed8c48a6c48c52c170b00509a0d6617ce754bc8ac
parentdc9cb095d13fa75e20604fdb79b4276ac45f64a8 (diff)
htmlscrubber patch for sanitizing SVG and MathML
-rw-r--r--doc/bugs/SVG_files_not_recognized_as_images.mdwn11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/bugs/SVG_files_not_recognized_as_images.mdwn b/doc/bugs/SVG_files_not_recognized_as_images.mdwn
index f178a4b1a..207edd426 100644
--- a/doc/bugs/SVG_files_not_recognized_as_images.mdwn
+++ b/doc/bugs/SVG_files_not_recognized_as_images.mdwn
@@ -16,3 +16,14 @@ The 'img' plugin also seems to not support SVGs.
> I suppose the other option would be converting the svg file to a static
> image (png). The img plugin could probably do that fairly simply.
> --[[Joey]]
+
+>> I'm working on inline SVG and MathML support in ikiwiki and I've
+>> modified my htmlscrubber to sanitize SVG and MathML using the
+>> whitelists from html5lib. Here's a [patch][]. I've also made some
+>> notes about this here: [[todo/svg]].
+>>
+>> I suspect that this bug may have caught the eye of anyone interested
+>> in this sort of thing. I'll elaborate a bit on my user page to avoid
+>> getting off-topic here. --[[JasonBlevins]], October 21, 2008
+
+ [patch]: http://xbeta.org/gitweb/?p=xbeta/ikiwiki.git;a=blobdiff;f=IkiWiki/Plugin/htmlscrubber.pm;h=3c0ddc8f25bd8cb863634a9d54b40e299e60f7df;hp=3bdaccea119ec0e1b289a0da2f6d90e2219b8d66;hb=fe333c8e5b4a5f374a059596ee698dacd755182d;hpb=be0b4f603f918444b906e42825908ddac78b7073