diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-05-25 22:03:22 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-05-25 22:03:22 +0000 |
commit | 7f64dd4f6688149306282f1a2a951535b9493300 (patch) | |
tree | c2a7a4291607026084831a49032ff955c19d83fa /IkiWiki | |
parent | 75348182fc76599d376a4bec04de0043f20e3d7f (diff) | |
download | ikiwiki-7f64dd4f6688149306282f1a2a951535b9493300.tar ikiwiki-7f64dd4f6688149306282f1a2a951535b9493300.tar.gz |
* Tell HTML::Scrubber to treat "/" as a valid attribute which is its
very strange way of enabling proper XHTML <br /> type tags. Output html
should be always valid again now.
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/htmlscrubber.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/htmlscrubber.pm b/IkiWiki/Plugin/htmlscrubber.pm index 41cf6c991..8e8391817 100644 --- a/IkiWiki/Plugin/htmlscrubber.pm +++ b/IkiWiki/Plugin/htmlscrubber.pm @@ -43,7 +43,8 @@ sub scrubber { #{{{ selected shape size span src start summary tabindex target title type usemap valign value vspace width - }}], + }, "/" => 1, # emit proper <hr /> XHTML + }], ); return $_scrubber; } # }}} |