forked from github/pelican
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
|
||||
content, _ = readers.read_file(_filename('article.rst'),
|
||||
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 "\
|
||||
'support for <abbr title="three letter acronym">'\
|
||||
'TLA</abbr>.</p>\n'
|
||||
'<span class="caps">TLA</span></abbr>.</p>\n'
|
||||
|
||||
self.assertEqual(content, expected)
|
||||
except ImportError:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue