def __init__(self, text, style, bulletText=None, caseSensitive=1, level=0,
snum=None, parent_id=None, node=None, section_header_depth=2):
# Issue 114: need to convert "&" to "&" and such.
# Issue 140: need to make it plain text
self.stext=re.sub(r'<[^>]*?>', '', unescape(text))
self.stext = self.stext.strip()
self.level = int(level)
self.snum = snum
self.parent_id=parent_id
self.node=node
self.section_header_depth = section_header_depth
Paragraph.__init__(self, text, style, bulletText)
评论列表
文章目录