mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-14 02:09:44 -04:00
For some reason we’re generating XHTML <br>s now
¯\_(ツ)_/¯
This commit is contained in:
@@ -206,7 +206,7 @@ def test_escapes_letter_contact_block(
|
||||
|
||||
page = BeautifulSoup(response.data.decode('utf-8'), 'html.parser')
|
||||
div = str(page.find_all('tr')[5].find_all('td')[1].div)
|
||||
assert 'foo<br>bar' in div
|
||||
assert 'foo<br/>bar' in div
|
||||
assert '<script>' not in div
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user