-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I've found a small problem with text nodes and converter.py
Supplying the html...
<div>
<p>hello <strong>bold</strong> goodbye</p>
</div>
Returns:
{
"content": {
"content": [
{
"text": "hello "
},
{
"content": [
{
"text": "bold"
},
{
"text": " goodbye"
}
],
"type": "strong"
}
],
"type": "p"
}
}
Which reconstructs as:
<div>
<p>hello <strong>bold goodbye</strong></p>
</div>
I think it should return:
{
"content": {
"content": [
{
"content": [
{
"text": "hello"
}
],
"content": [
{
"text": "bold"
},
"type": "strong"
],
"content": [
{
"text": " goodbye"
}
]
}
],
"type": "p"
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels