aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-05-25 22:03:22 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-05-25 22:03:22 +0000
commit7f64dd4f6688149306282f1a2a951535b9493300 (patch)
treec2a7a4291607026084831a49032ff955c19d83fa /IkiWiki
parent75348182fc76599d376a4bec04de0043f20e3d7f (diff)
downloadikiwiki-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.pm3
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;
} # }}}