]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/htmlscrubber.pm
htmlscrubber: Allow the placeholder attribute.
[ikiwiki.git] / IkiWiki / Plugin / htmlscrubber.pm
index 1604d776a646af2487eeeb4dd7be8d6fc8c0d89e..b3f659f73d1c705e32912a5e346d32074a29b875 100644 (file)
@@ -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,8 +101,8 @@ sub scrubber {
                                tabindex target title type valign
                                value vspace width
 
-                               autoplay loopstart loopend end
-                               playcount controls pubdate
+                               autoplay preload loopstart loopend end
+                               playcount controls pubdate placeholder
                        } ),
                        "/" => 1, # emit proper <hr /> XHTML
                        href => $safe_url_regexp,