diff options
author | Leonard Richardson <leonardr@segfault.org> | 2019-07-07 21:46:36 -0400 |
---|---|---|
committer | Leonard Richardson <leonardr@segfault.org> | 2019-07-07 21:46:36 -0400 |
commit | 2fcaeb6e916a09fa87b4b2ab57167c39db6cef8c (patch) | |
tree | 06f7f47a4c6adaa6e33e24c91a5dee61162fd441 /bs4/tests/test_soup.py | |
parent | fd040bfacc6caa2d0b92edbeed5f32582ad55d83 (diff) |
' (which is valid in XML and XHTML, but not HTML 4) is now
recognized as a named entity and converted to a single quote. [bug=1818721]
Diffstat (limited to 'bs4/tests/test_soup.py')
-rw-r--r-- | bs4/tests/test_soup.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bs4/tests/test_soup.py b/bs4/tests/test_soup.py index a2242da..e50d603 100644 --- a/bs4/tests/test_soup.py +++ b/bs4/tests/test_soup.py @@ -279,7 +279,7 @@ class TestEntitySubstitution(unittest.TestCase): self.assertEqual( self.sub.substitute_xml_containing_entities("ÁT&T"), "ÁT&T") - + def test_quotes_not_html_substituted(self): """There's no need to do this except inside attribute values.""" text = 'Bob\'s "bar"' |