Wiki parser should recognise strikethrough text containing hyphen
Issue #102
new
-some - text-
wiki should convert to strikethrough ADF
Also doesn’t round-trip
{
"version": 1,
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "some - text",
"marks": [
{
"type": "strike"
}
]
}
]
}
]
}
Encodes to -some - text-
Parsees back to
{
"type" : "doc",
"version" : 1,
"content" : [ {
"type" : "paragraph",
"content" : [ {
"type" : "text",
"text" : "-some - text-"
} ]
} ]
}