diff options
author | Joey Hess <joey@kitenet.net> | 2010-05-01 17:56:35 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-05-01 17:56:35 -0400 |
commit | 73c8209484ac730c82f7c7b749d08a1b3d895ee0 (patch) | |
tree | d94270cea08a14bf17d9e5bbbd294b6ba9070727 /IkiWiki/Plugin/htmlscrubber.pm | |
parent | 80f2042464f9d14bcaed999e9769c71618bf5252 (diff) | |
download | ikiwiki-73c8209484ac730c82f7c7b749d08a1b3d895ee0.tar ikiwiki-73c8209484ac730c82f7c7b749d08a1b3d895ee0.tar.gz |
more html5
* htmlscrubber: Also allow html5 canvas tags.
* htmlscrubber: Round out html5 video support with the preload
attribute and the source tag.
Diffstat (limited to 'IkiWiki/Plugin/htmlscrubber.pm')
-rw-r--r-- | IkiWiki/Plugin/htmlscrubber.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/IkiWiki/Plugin/htmlscrubber.pm b/IkiWiki/Plugin/htmlscrubber.pm index 1604d776a..cc00fd5ff 100644 --- a/IkiWiki/Plugin/htmlscrubber.pm +++ b/IkiWiki/Plugin/htmlscrubber.pm @@ -83,8 +83,8 @@ sub scrubber { span strike strong sub sup table tbody td textarea tfoot th thead tr tt u ul var - video audio section nav article aside hgroup header - footer time mark + video audio source section nav article aside hgroup + header footer time mark canvas }], default => [undef, { ( map { $_ => 1 } qw{ @@ -101,7 +101,7 @@ sub scrubber { tabindex target title type valign value vspace width - autoplay loopstart loopend end + autoplay preload loopstart loopend end playcount controls pubdate } ), "/" => 1, # emit proper <hr /> XHTML |