We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 288493d commit aa56649Copy full SHA for aa56649
2 files changed
tests/test_utils.py
@@ -6,8 +6,8 @@
6
def test_encode_html():
7
result = utils.encode_html('''this is a "test" of text that's safe to '''
8
'put in an <html> attribute.')
9
- expect = ('this is a "test" of text that's safe to put in an '
10
- '<html> attribute.')
+ expect = ('this is a "test" of text that's safe to put in '
+ 'an <html> attribute.')
11
assert result == expect
12
13
def test_has_raw_text():
textile/utils.py
@@ -39,7 +39,7 @@ def encode_html(text, quotes=True):
39
40
if quotes:
41
a = a + (("'", '''),
42
- ('"', '"'))
+ ('"', '"'))
43
44
for k, v in a:
45
text = text.replace(k, v)
0 commit comments