Author: heiko.braun(a)jboss.com
Date: 2007-02-07 12:02:04 -0500 (Wed, 07 Feb 2007)
New Revision: 2298
Modified:
trunk/jbossws-docs/db2wiki.py
Log:
Fix sect1 and sect2 handling
Modified: trunk/jbossws-docs/db2wiki.py
===================================================================
--- trunk/jbossws-docs/db2wiki.py 2007-02-07 16:42:03 UTC (rev 2297)
+++ trunk/jbossws-docs/db2wiki.py 2007-02-07 17:02:04 UTC (rev 2298)
@@ -100,11 +100,15 @@
if aux=="chapter":
contentUntil("<title>")
fout.write("\n='''"+contentUntil("</title>")+"'''=\n")
- lastChar="\n"
- elif aux=="section":
+ lastChar="\n"
+ elif aux=="sect1":
contentUntil("<title>")
fout.write("\n="+contentUntil("</title>")+"=\n")
lastChar="\n"
+ elif aux=="sect2":
+ contentUntil("<title>")
+ fout.write("\n=="+contentUntil("</title>")+"==\n")
+ lastChar="\n"
elif aux=="bridgehead":
contentUntil(">")
fout.write("\n==="+contentUntil("</bridgehead>")+"===\n")
Show replies by date