* 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.
master
joey 2006-05-25 22:03:22 +00:00
parent 75348182fc
commit 7f64dd4f66
3 changed files with 10 additions and 4 deletions

View File

@ -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;
} # }}}

8
debian/changelog vendored
View File

@ -1,3 +1,11 @@
ikiwiki (1.4) UNRELEASED; urgency=low
* 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.
-- Joey Hess <joeyh@debian.org> Thu, 25 May 2006 18:01:59 -0400
ikiwiki (1.3) unstable; urgency=low
* Fix the preinst introduced in the last version. Closes: #367458

View File

@ -33,6 +33,3 @@
* if a page containing an rss feed happens to show up in an rss feed,
the preprocessor directives won't be expanded (good) but are left in
raw rather than removed (bad).
* HTML::Scrubber doesn't produce valid xhtml for tags like hr, so if html
sanitisation is enabled the html page won't be valid.
<http://bugs.debian.org/365971>