Don't encode already encoded entities
This commit is contained in:
parent
1c7f83acf6
commit
41d5414245
2 changed files with 4 additions and 7 deletions
|
|
@ -41,6 +41,8 @@ class TestFormatMode(unittest.TestCase):
|
|||
('test <danger>', 'test <danger>'),
|
||||
('test <danger="true">', 'test <danger="true">'),
|
||||
("test <danger='true'>", 'test <danger='true'>'),
|
||||
('test&test', 'test&test'),
|
||||
('test&test', 'test&test'),
|
||||
)
|
||||
|
||||
for input, output in tests:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue