diff options
author | Martin Altmayer <altmayer@posteo.de> | 2014-08-15 15:47:35 +0200 |
---|---|---|
committer | Martin Altmayer <altmayer@posteo.de> | 2014-08-15 15:47:35 +0200 |
commit | e7b6a33f0e3dd37d276a0c18dcbdc62e2c80ed98 (patch) | |
tree | 7a39c2ac013a6fc55157cb3b9b6b0b7dbe0e3a7e /tests/test_extensions.py | |
parent | e90687e8520630e97cd47c725a6438ca1ca83c91 (diff) | |
download | markdown-e7b6a33f0e3dd37d276a0c18dcbdc62e2c80ed98.tar.gz markdown-e7b6a33f0e3dd37d276a0c18dcbdc62e2c80ed98.tar.bz2 markdown-e7b6a33f0e3dd37d276a0c18dcbdc62e2c80ed98.zip |
Renamed 'smart_substitutions' option to 'substitutions'. Fixed a typo.
Diffstat (limited to 'tests/test_extensions.py')
-rw-r--r-- | tests/test_extensions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_extensions.py b/tests/test_extensions.py index 9052b57..e30e877 100644 --- a/tests/test_extensions.py +++ b/tests/test_extensions.py @@ -590,7 +590,7 @@ class TestSmarty(unittest.TestCase): config = { 'smarty': [ ('smart_angled_quotes', True), - ('smart_substitutions', { + ('substitutions', { 'ndash': '\u2013', 'mdash': '\u2014', 'ellipsis': '\u2026', @@ -615,4 +615,4 @@ Must not be confused with 'ndash' (--) ... >> """<p>[ The „Unicode char of the year 2014“ is the ‚mdash‘: \u2014 Must not be confused with ‚ndash‘ (\u2013) \u2026 ]</p>""" - self.assertEqual(self.md.convert(text), correct)
\ No newline at end of file + self.assertEqual(self.md.convert(text), correct) |