File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ def test_image_html(self, convert):
8181 output = convert ('html' , 'sk' , '{#fig:ryba height=47mm}' )
8282 output = output .replace ('\n ' , ' ' )
8383 print (output )
84- assert re .match (r'<figure>.*</figure>' , output ) is not None
84+ assert re .match (r'<figure.* >.*</figure>' , output ) is not None
8585 assert re .match (r'.*<img.* src=".*ryba\.svg"' , output ) is not None
8686 assert re .match (r'.*<figcaption.*>.*Masívna ryba.*</figcaption>' , output ) is not None
8787
@@ -93,7 +93,7 @@ def test_image_html_multiline(self, convert):
9393""" )
9494 output = output .replace ('\n ' , ' ' )
9595 print (output )
96- assert re .match (r'<figure>.*</figure>' , output ) is not None
96+ assert re .match (r'<figure.* >.*</figure>' , output ) is not None
9797 assert re .match (r'.*<img.* src=".*subor\.png"' , output ) is not None
9898 assert re .match (r'.*<figcaption.*Veľmi dlhý text\. Akože masívne\. Veľmi masívne\. Aj s newlinami\.' , output ) is not None
9999
You can’t perform that action at this time.
0 commit comments