Skip to content

Commit

Permalink
Added tests for pre updates
Browse files Browse the repository at this point in the history
  • Loading branch information
robinchow committed Jan 16, 2024
1 parent 1e8bb8f commit fe26db7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/data/pre-nested-strong.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<pre>line1
<strong>line2</strong></pre>
14 changes: 14 additions & 0 deletions tests/data/pre-nested-strong.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{
"text": "line1\nline2",
"runs": [
{
"text": "line1\n"
},
{
"text": "line2",
"bold": true
}
]
}
]

0 comments on commit fe26db7

Please sign in to comment.