From af92bf354bab365cf5a634fd3e606f30ea09beae Mon Sep 17 00:00:00 2001 From: phil Date: Tue, 1 Aug 2006 18:22:03 +0000 Subject: [PATCH] * TOC wird formatiert --- documents/mod_html_files.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/documents/mod_html_files.py b/documents/mod_html_files.py index 9ef77b3..8342eb7 100644 --- a/documents/mod_html_files.py +++ b/documents/mod_html_files.py @@ -53,6 +53,10 @@ try: content=string.replace(content,'

',"

") content=string.replace(content,"","") content=string.replace(content,"","") + + #TOC formatieren - Der Abschnitt muss noch allgemeiner werden + content = string.replace(content,'
\n\n

\nInhalt\n

\n','\n
\n
Auf dieser Seite:
') + content = string.replace(content,"","
") # replace "./filename.png" references with "filename.png" # (this avoids validation warnings)