summaryrefslogtreecommitdiff
path: root/doc/bugs
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-07-29 04:16:47 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-07-29 04:16:47 +0000
commit8a3657ae467f918692ba479812aee951e28627f5 (patch)
treee98652fdeec8e852e671eae09d6ed406c241c579 /doc/bugs
parentab66d7e50ea6cea8a72f20df5754980abf3c93bb (diff)
web commit by http://ethan.betacantrips.com/: improve rst support
Diffstat (limited to 'doc/bugs')
-rw-r--r--doc/bugs/rst_tweak.mdwn19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/bugs/rst_tweak.mdwn b/doc/bugs/rst_tweak.mdwn
new file mode 100644
index 000000000..f6f7bbaf0
--- /dev/null
+++ b/doc/bugs/rst_tweak.mdwn
@@ -0,0 +1,19 @@
+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
+
+<pre>
+Index: IkiWiki/Plugin/rst.pm
+===================================================================
+--- IkiWiki/Plugin/rst.pm (revision 3926)
++++ IkiWiki/Plugin/rst.pm (working copy)
+@@ -30,7 +30,7 @@
+ 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();
+ ";
+</pre> \ No newline at end of file