* TOC wird formatiert
This commit is contained in:
parent
648c391039
commit
af92bf354b
1 changed files with 4 additions and 0 deletions
|
@ -53,6 +53,10 @@ try:
|
|||
content=string.replace(content,'<P ALIGN="CENTER">',"<P>")
|
||||
content=string.replace(content,"<STRONG>","")
|
||||
content=string.replace(content,"</STRONG>","")
|
||||
|
||||
#TOC formatieren - Der Abschnitt <A NAME="SECTION00001000000000000000"> muss noch allgemeiner werden
|
||||
content = string.replace(content,'<BR>\n\n<H2><A NAME="SECTION00001000000000000000">\nInhalt</A>\n</H2>\n<!--Table of Contents-->','\n<div id="toc">\n<div id="toctitle">Auf dieser Seite:</div>')
|
||||
content = string.replace(content,"<!--End of Table of Contents-->","</div>")
|
||||
|
||||
# replace "./filename.png" references with "filename.png"
|
||||
# (this avoids validation warnings)
|
||||
|
|
Loading…
Reference in a new issue