Commit 7a389ac6 authored by Andreas Jung's avatar Andreas Jung

- Collector #210: HTML() function of StructuredText produced wrong

        <h0> tags.
parent e0e06083
......@@ -13,6 +13,9 @@ Zope Changes
- Collector #207: fixed problem with inner links in STXNG
- Collector #210: HTML() function of StructuredText produced wrong
<h0> tags.
Zope 2.5.1 beta 1
Bugs Fixed
......
......@@ -17,13 +17,14 @@ from StructuredText import html_with_references, HTML, html_quote
from ST import Basic
import DocBookClass
import HTMLWithImages
from types import StringType
import DocumentWithImages
ClassicHTML=HTML
HTMLNG=HTMLClass.HTMLClass()
def HTML(src, level=0, type=type, StringType=type('')):
if type(src) is StringType:
def HTML(src, level=1):
if isinstance(src, StringType):
return ClassicHTML(src, level)
return HTMLNG(src, level)
......
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