Merge pull request #193 from plone/do_not_autoclose_tags

[Master] Fix test after PortalTransforms uses lxml html method to serialize (instead of xml method)
This commit is contained in:
Maurits van Rees 2022-03-15 17:09:12 +01:00 committed by GitHub
commit d37488dd26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ class CommentTest(unittest.TestCase):
comment1.text = 'First paragraph\n\nSecond_paragraph'
self.assertEqual(
''.join(comment1.getText().split()),
'<p>Firstparagraph<br/><br/>Second_paragraph</p>',
'<p>Firstparagraph<br><br>Second_paragraph</p>',
)
def test_getText_escapes_HTML(self):