* Allow raw html in the rst plugin.
parent
f371f2f2d8
commit
54e25f034c
|
@ -30,7 +30,7 @@ from sys import stdin;
|
|||
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();
|
||||
";
|
||||
|
|
|
@ -1,3 +1,12 @@
|
|||
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
|
||||
|
|
|
@ -4,8 +4,9 @@ ikiwiki (2.6) UNRELEASED; urgency=low
|
|||
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
|
||||
|
||||
|
|
|
@ -2,6 +2,9 @@ rst.pm disallows raw HTML input. (It's meant as a security feature.)
|
|||
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
|
||||
===================================================================
|
||||
|
|
Loading…
Reference in New Issue