Wiki parser should recognise strikethrough text containing hyphen

Issue #102 new
Craig Lawrence created an issue

-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-"
    } ]
  } ]
}

Comments (0)

  1. Log in to comment