* TOC wird formatiert
This commit is contained in:
parent
648c391039
commit
af92bf354b
1 changed files with 4 additions and 0 deletions
|
@ -54,6 +54,10 @@ try:
|
|||
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)
|
||||
content = string.replace(content,'HREF="./','HREF="')
|
||||
|
|
Loading…
Reference in a new issue