X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/8e92468eae9ac0ab8161a0c71ff6c6a0a8aef07a..2c19d161310832e0e5fb64c86a408dd01fc2f88a:/doc/bugs/SVG_files_not_recognized_as_images.mdwn diff --git a/doc/bugs/SVG_files_not_recognized_as_images.mdwn b/doc/bugs/SVG_files_not_recognized_as_images.mdwn index 207edd426..b14cd9b94 100644 --- a/doc/bugs/SVG_files_not_recognized_as_images.mdwn +++ b/doc/bugs/SVG_files_not_recognized_as_images.mdwn @@ -17,6 +17,16 @@ The 'img' plugin also seems to not support SVGs. > image (png). The img plugin could probably do that fairly simply. > --[[Joey]] +>> This seems to have improved since; at least chromium can display svg +>> images from `` tags. Firefox 3.5.19 did not in my testing. +>> +>> So, svgs can now be included on pages by linking to them, or by using +>> the img directive. The most portable thing is to use the img directive +>> plus some size, which forces them to be resized and a png to actually +>> be displayed. +>> +>> I have not yet tried to do anything with sanitizing them. --[[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