Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15
python-recommonmark
fix-commonmark-compatibility.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-commonmark-compatibility.patch of Package python-recommonmark
--- recommonmark/parser.py 2016-01-05 22:59:38.000000000 +0100 +++ recommonmark/parser.py 2017-07-20 23:22:53.620321088 +0200 @@ -3,7 +3,7 @@ from docutils import parsers, nodes -from CommonMark import DocParser, HTMLRenderer +from CommonMark import Parser, HtmlRenderer from warnings import warn __all__ = ['CommonMarkParser'] @@ -80,7 +80,7 @@ self.current_node = document self.section_handler = _SectionHandler(document) - parser = DocParser() + parser = Parser() ast = parser.parse(inputstring + '\n') @@ -220,7 +220,7 @@ def inline_entity(inline): - val = HTMLRenderer().renderInline(inline) + val = HtmlRenderer().renderInline(inline) entity_node = nodes.paragraph('', val, format='html') return entity_node
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor