Wiki transformer doesn't lower case domain in parsed URLs

Issue #62 wontfix
Craig Lawrence created an issue

Request

http://wwww.GooGle.com/Ab

Typescript

{
  "version": 1,
  "type": "doc",
  "content": [
    {
      "type": "paragraph",
      "content": [
        {
          "type": "text",
          "text": "http://wwww.GooGle.com",
          "marks": [
            {
              "type": "link",
              "attrs": {
                "href": "http://wwww.google.com/Ab"
              }
            }
          ]
        }
      ]
    }
  ]
}

adf-builder-java

{
  "type" : "doc",
  "version" : 1,
  "content" : [ {
    "type" : "paragraph",
    "content" : [ {
      "type" : "text",
      "text" : "http://wwww.GooGle.com",
      "marks" : [ {
        "type" : "link",
        "attrs" : {
          "href" : "http://wwww.GooGle.com/Ab"      <---- different
        }
      } ]
    } ]
  } ]
}

Comments (5)

  1. Craig Lawrence reporter

    Another quirk of the built-in js parser that will be annoying to patch here.

  2. Log in to comment