Skip to content

Commit

Permalink
Add UT
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmikolay committed Jun 11, 2024
1 parent bfac67b commit 8d4bd0f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions tests/prosemirror_model/tests/test_dom.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,25 @@ def test_html_is_escaped():
],
},
),
(
"Indented HTML",
"""
<div>
<p>
test
</p>
</div>
""",
{
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [{"type": "text", "text": "test"}],
},
],
},
),
(
"Styled(marks) nodes pt1",
"""<div><p>test <strong>some bolded text</strong></p></div>""",
Expand Down

0 comments on commit 8d4bd0f

Please sign in to comment.