mirror of
https://github.com/vale981/recommonmark
synced 2025-03-05 10:01:39 -05:00
Revert "Merge pull request #23 from brechtm/master"
This reverts commitba6abb22cc
, reversing changes made toadd4445268
.
This commit is contained in:
parent
86253774cd
commit
0ed27b1c2e
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ import itertools
|
|||
|
||||
from docutils import parsers, nodes
|
||||
|
||||
from CommonMark import Parser, HTMLRenderer
|
||||
from CommonMark import DocParser, HTMLRenderer
|
||||
from warnings import warn
|
||||
|
||||
__all__ = ['CommonMarkParser']
|
||||
|
@ -80,7 +80,7 @@ class CommonMarkParser(parsers.Parser):
|
|||
self.current_node = document
|
||||
self.section_handler = _SectionHandler(document)
|
||||
|
||||
parser = Parser()
|
||||
parser = DocParser()
|
||||
|
||||
ast = parser.parse(inputstring + '\n')
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue