From fac84c6d90e0875e6c1b10c5ef02d577ee008af4 Mon Sep 17 00:00:00 2001 From: Per Andersson Date: Sun, 9 Jun 2013 19:45:54 +0200 Subject: Imported Upstream version 1.2.2 --- bleach/tests/test_basics.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bleach/tests/test_basics.py') diff --git a/bleach/tests/test_basics.py b/bleach/tests/test_basics.py index 60be11d..9eca687 100644 --- a/bleach/tests/test_basics.py +++ b/bleach/tests/test_basics.py @@ -8,6 +8,10 @@ def test_empty(): eq_('', bleach.clean('')) +def test_nbsp(): + eq_(u'\xa0test string\xa0', bleach.clean(' test string ')) + + def test_comments_only(): comment = '' open_comment = '