- edited description
Parsing of special chars and newlines
Issue #53
closed
The wiki → ADF transformer has issues handling interactions between special characters and line breaks
e.g.
Request *\nh3. Steps to Reproduce\n # Step 1
Typescript:
{
"version": 1,
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "*"
}
]
},
{
"type": "heading",
"attrs": {
"level": 3
},
"content": [
{
"type": "text",
"text": "Steps to Reproduce"
}
]
},
{
"type": "orderedList",
"attrs": {
"order": 1
},
"content": [
{
"type": "listItem",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Step 1"
}
]
}
]
}
]
}
]
}
adf-builder-java:
{
"type" : "doc",
"version" : 1,
"content" : [ {
"type" : "orderedList",
"content" : [ {
"type" : "listItem",
"content" : [ {
"type" : "paragraph",
"content" : [ {
"type" : "text",
"text" : "*"
} ]
}, {
"type" : "paragraph",
"content" : [ {
"type" : "text",
"text" : "STEPS TO REPRODUCE",
"marks" : [ {
"type" : "strong"
} ]
} ]
}, {
"type" : "paragraph",
"content" : [ {
"type" : "text",
"text" : "Step 1"
} ]
} ]
} ],
"attrs" : {
"order" : 1
}
} ]
The lib output is missing the heading, has attempted to parse the heading as all-caps bold it seems, and put the whole thing in a list…
Comments (7)
-
reporter -
reporter - edited description
-
reporter - edited description
-
reporter - edited description
-
-
assigned issue to
-
assigned issue to
-
- changed status to resolved
Fixed in
0.28.2
-
- changed status to closed
- Log in to comment