17f63157615a973b24320359d9b0a100c661b78e
[ikiwiki.git] / doc / todo / svg.mdwn
1 We should support SVG.  In particular:
2
3 * We could support rendering SVGs to PNGs when compiling the wiki.  Not all browsers support SVG yet.
4
5 * We could support editing SVGs via the web interface.  SVG can contain unsafe content such as scripting, so we would need to whitelist safe markup.
6
7 --[[JoshTriplett]]
8
9 I'm allowing for inline SVG on my own installation.  I've patched my
10 copy of htmlscrubber.pm to allow safe MathML and SVG elements (as
11 implemented in html5lib).  Here's a [patch][]
12 if anyone else is interested. --[[JasonBlevins]]
13
14 [patch]: http://xbeta.org/gitweb/?p=xbeta/ikiwiki.git;a=blobdiff;f=IkiWiki/Plugin/htmlscrubber.pm;h=e4234e3b31f54fd5ca929fe7bece88d176dab03a;hp=3bdaccea119ec0e1b289a0da2f6d90e2219b8d66;hb=db56b62ce99cdb7ffe41a8decaca34ade7964aa4;hpb=be0b4f603f918444b906e42825908ddac78b7073
15
16 [[wishlist]]
17 [[tag patch]]