html = publish_string(stdin.read(), writer_name='html',
settings_overrides = { 'halt_level': 6,
'file_insertion_enabled': 0,
- 'raw_enabled': 0 }
+ 'raw_enabled': 1 }
);
print html[html.find('<body>')+6:html.find('</body>')].strip();
";
+ikiwiki (2.5) unstable; urgency=low
+
+ In this version the rst plugin allows raw html to be embedded in rst files.
+ As long as the htmlscrubber is enabled, this should be safe. If you are
+ using the rst plugin without the htmlscrubber in a publically writable wiki,
+ you should turn on the htmlscrubber.
+
+ -- Joey Hess <joeyh@debian.org> Sun, 29 Jul 2007 18:37:22 -0400
+
ikiwiki (2.5) unstable; urgency=low
Due to some config changes in this version, wrappers need to be rebuilt on
various reviewers.
* Fix problems with previewing in the graphviz plugin. Thanks,
HenrikBrixAndersen.
+ * Allow raw html in the rst plugin.
- -- Joey Hess <joeyh@debian.org> Sun, 29 Jul 2007 18:34:13 -0400
+ -- Joey Hess <joeyh@debian.org> Sun, 29 Jul 2007 18:38:36 -0400
ikiwiki (2.5) unstable; urgency=low
IkiWiki generates HTML in rst files pretty much all the time. As
such, we should enable raw HTML support. --Ethan
+> [[done]], although I did add a news item about it, since it could break
+> the security of certian setups that don't use the htmlscrubber. --[[Joey]]
+
<pre>
Index: IkiWiki/Plugin/rst.pm
===================================================================
);
print html[html.find('<body>')+6:html.find('</body>')].strip();
";
-</pre>
\ No newline at end of file
+</pre>