Skip to content

Commit

Permalink
bleach upgrade test fix - its a change, but absolutely fine that it d…
Browse files Browse the repository at this point in the history
…oesnt try to close the bad tag automatically.
  • Loading branch information
David Read committed Jan 9, 2019
1 parent ed8e9e6 commit cc077b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/tests/lib/test_helpers.py
Expand Up @@ -561,7 +561,7 @@ def test_escaped_percent(self):
class TestCleanHtml(object):
def test_disallowed_tag(self):
eq_(h.clean_html('<b><bad-tag>Hello'),
u'<b>&lt;bad-tag&gt;Hello&lt;/bad-tag&gt;</b>')
u'<b>&lt;bad-tag&gt;Hello</b>')

def test_non_string(self):
# allow a datetime for compatibility with older ckanext-datapusher
Expand Down

0 comments on commit cc077b6

Please sign in to comment.