mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
typogrify also does some changes on the abbr
This commit is contained in:
parent
f3280071c1
commit
0e4d493d93
1 changed files with 2 additions and 2 deletions
|
|
@ -57,10 +57,10 @@ class RstReaderTest(unittest.TestCase):
|
||||||
# otherwise, typogrify should be applied
|
# otherwise, typogrify should be applied
|
||||||
content, _ = readers.read_file(_filename('article.rst'),
|
content, _ = readers.read_file(_filename('article.rst'),
|
||||||
settings={'TYPOGRIFY': True})
|
settings={'TYPOGRIFY': True})
|
||||||
expected = "<p>This is some content. With some stuff to "\
|
expected = u"<p>This is some content. With some stuff to "\
|
||||||
"“typogrify”.</p>\n<p>Now with added "\
|
"“typogrify”.</p>\n<p>Now with added "\
|
||||||
'support for <abbr title="three letter acronym">'\
|
'support for <abbr title="three letter acronym">'\
|
||||||
'TLA</abbr>.</p>\n'
|
'<span class="caps">TLA</span></abbr>.</p>\n'
|
||||||
|
|
||||||
self.assertEqual(content, expected)
|
self.assertEqual(content, expected)
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue