Commit 94a28aa7 authored by Andreas Jung's avatar Andreas Jung

ajusted level parameter to do not produce <h0> tags

parent 73574831
......@@ -96,12 +96,12 @@ from STletters import letters
Document = DocumentClass.DocumentClass()
HTMLNG = HTMLClass.HTMLClass()
def HTML(aStructuredString, level=0, header=1):
def HTML(aStructuredString, level=1, header=1):
st = Basic(aStructuredString)
doc = Document(st)
return HTMLNG(doc,header=header,level=level)
def StructuredText(aStructuredString, level=0):
def StructuredText(aStructuredString, level=1):
return HTML(aStructuredString,level)
def html_with_references(text, level=1, header=1):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment