forked from docs/doc-exports
fixing conversion of element li
This commit is contained in:
parent
cb7902cbe6
commit
556316d858
@ -197,7 +197,7 @@ class TestConvertor(TestCase):
|
|||||||
<li id="mrs_01_0979__en-us_topic_0000001173470738_en-us_topic_0116526932_li53294272">Use /*+ MAPJOIN(join_table) */.</li>
|
<li id="mrs_01_0979__en-us_topic_0000001173470738_en-us_topic_0116526932_li53294272">Use /*+ MAPJOIN(join_table) */.</li>
|
||||||
""" # noqa
|
""" # noqa
|
||||||
expected = """
|
expected = """
|
||||||
<li id="mrs_01_0979__en-us_topic_0000001173470738_en-us_topic_0116526932_li53294272">Use <code>/*+ MAPJOIN(join_table) */</code>.</li>
|
<li>Use <code>/*+ MAPJOIN(join_table) */</code>.</li>
|
||||||
""" # noqa
|
""" # noqa
|
||||||
soup = bs4.BeautifulSoup(test_data, 'lxml')
|
soup = bs4.BeautifulSoup(test_data, 'lxml')
|
||||||
res = self.convertor.streamline_html(soup, "dummy")
|
res = self.convertor.streamline_html(soup, "dummy")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user