diff --git a/documents/mod_html_files.py b/documents/mod_html_files.py index f83b4ff..c8837b4 100644 --- a/documents/mod_html_files.py +++ b/documents/mod_html_files.py @@ -40,7 +40,7 @@ try: content=string.replace(content,footer,"") #put whole content into div tags - content = string.replace(content,"",'') + content = string.replace(content,"

\n\n",'') content = string.replace(content,"",'') #remove empty image subtitles @@ -52,8 +52,8 @@ try: # Fussnoten finden und Ende ersetzen fussnoten = string.find(content,"

Fußnoten

") - startoffset = string.find(content,"\n

",fussnoten) - endoffset = startoffset + len("\n

") + startoffset = string.find(content,"",fussnoten) + endoffset = startoffset + len("") content = content[:startoffset] + "\n" + content[endoffset:] # Linie vor Fussnoten wird entfernt