aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--markdown/tests/__init__.py4
-rw-r--r--markdown/tests/pl/Tests_2004/test.cfg1
2 files changed, 3 insertions, 2 deletions
diff --git a/markdown/tests/__init__.py b/markdown/tests/__init__.py
index ff4916a..d07ae7d 100644
--- a/markdown/tests/__init__.py
+++ b/markdown/tests/__init__.py
@@ -44,7 +44,7 @@ def get_args(file, config):
def normalize(text):
""" Normalize whitespace for a string of html using tidy. """
- return unicode(tidy.parseString(text.encode('utf-8'),
+ return str(tidy.parseString(text.encode('utf-8'),
drop_empty_paras=0,
fix_backslash=0,
fix_bad_comments=0,
@@ -56,7 +56,7 @@ def normalize(text):
quote_ampersand=0,
show_body_only=1,
char_encoding='utf8',
- newline='LF'))
+ newline='LF')).decode('string-escape')
class CheckSyntax(object):
def __init__(self, description=None):
diff --git a/markdown/tests/pl/Tests_2004/test.cfg b/markdown/tests/pl/Tests_2004/test.cfg
index 12f3b4c..d3850f4 100644
--- a/markdown/tests/pl/Tests_2004/test.cfg
+++ b/markdown/tests/pl/Tests_2004/test.cfg
@@ -5,5 +5,6 @@ normalize=1
#skip=1
[Yuri-Footnotes]
+extensions=footnotes
skip=1