Commit 837fd723 authored by Chris McDonough's avatar Chris McDonough

This is the compatibility module to make StructuredTextNG "look like" Classic...

This is the compatibility module to make StructuredTextNG "look like" Classic Structured Text.  I was stupid earlier before and used "ClassicDocumentClass" to represent a Document.  This was failing in some cases when attemtping to use a "ClassicDocument" as input to a StructuredTextNG HTML renderer.  To fix: Use DocumentClass instead of ClassicDocumentClass.
parent 259d3487
...@@ -93,7 +93,7 @@ from ST import Basic ...@@ -93,7 +93,7 @@ from ST import Basic
import re, string,sys import re, string,sys
from STletters import letters from STletters import letters
Document = ClassicDocumentClass.DocumentClass() Document = DocumentClass.DocumentClass()
HTMLNG = HTMLClass.HTMLClass() HTMLNG = HTMLClass.HTMLClass()
def HTML(aStructuredString, level=0): def HTML(aStructuredString, level=0):
......
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