Skip to content

Commit a22e742

Browse files
committed
Add smarty test for nested quotes in span element
1 parent af6b31a commit a22e742

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_syntax/extensions/test_smarty.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ def test_basic(self):
5656
'(He replied, "She said \'Hello.\'")',
5757
'<p>(He replied, &ldquo;She said &lsquo;Hello.&rsquo;&rdquo;)</p>'
5858
)
59+
self.assertMarkdownRenders(
60+
'<span>He replied, "She said \'Hello.\'"</span>',
61+
'<p><span>He replied, &ldquo;She said &lsquo;Hello.&rsquo;&rdquo;</span></p>'
62+
)
5963
self.assertMarkdownRenders(
6064
'"quoted" text and **bold "quoted" text**',
6165
'<p>&ldquo;quoted&rdquo; text and <strong>bold &ldquo;quoted&rdquo; text</strong></p>'

0 commit comments

Comments
 (0)