Skip to content

Commit d4e8042

Browse files
committed
Add extra problem inline style output test
1 parent bcb8708 commit d4e8042

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

tests/test_exports.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,40 @@
119119
}
120120
},
121121

122+
{
123+
"label": "Partially nested inline styles",
124+
"output": {
125+
"html5lib": "<p><strong>Bold </strong><strong><em>Italic</em></strong></p>",
126+
"lxml": "<p><strong>Bold </strong><strong><em>Italic</em></strong></p>",
127+
"string": "<p><strong>Bold </strong><strong><em>Italic</em></strong></p>",
128+
"string_compat": "<p><strong>Bold </strong><strong><em>Italic</em></strong></p>"
129+
},
130+
"content_state": {
131+
"entityMap": {},
132+
"blocks": [
133+
{
134+
"key": "9nc73",
135+
"text": "Bold Italic",
136+
"type": "unstyled",
137+
"depth": 0,
138+
"inlineStyleRanges": [
139+
{
140+
"offset": 0,
141+
"length": 11,
142+
"style": "BOLD"
143+
},
144+
{
145+
"offset": 5,
146+
"length": 6,
147+
"style": "ITALIC"
148+
}
149+
],
150+
"entityRanges": []
151+
}
152+
]
153+
}
154+
},
155+
122156
{
123157
"label": "Adjacent inline styles",
124158
"output": {

0 commit comments

Comments
 (0)