color: Use markup for the preserved CSS, not character data
authorSimon McVittie <smcv@debian.org>
Tue, 16 May 2017 10:29:30 +0000 (11:29 +0100)
committerSimon McVittie <smcv@debian.org>
Tue, 16 May 2017 11:08:55 +0000 (12:08 +0100)
commit01f2a843602ad19716db9e17f93c943e0c71cff9
tree7d891eaeda20ed40cd3dc76bfe3fd7adf5bd0fdc
parent49de9594b71159d2a1755c80a096f1886b5fb05c
color: Use markup for the preserved CSS, not character data

This still smuggles it past the sanitize step, but avoids having
other plugins that want to capture text content without markup
(notably toc) see the CSS as if it was text content.
IkiWiki/Plugin/color.pm
doc/bugs/color_plugin_produces_artifacts_in_table-of-contents.mdwn
t/color.t