-
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
bugSomething isn't workingSomething isn't working
Description
message parser version: ^0.14.1
input:
I want to set this dns record for example.chat:
google-site-verification=bn78
Expected behavior:
[
{
"t": "Text",
"c": "I want to set this dns record for "
},
{
"t": "Link",
"c": {
"destination": {
"target": "example.chat",
"hostname": "example.chat",
}
}
},
{
"t": "Text",
"c": ": "
},
{
"t": "Linebreak"
},
{
"t": "Text",
"c": "google-site-verification=bn78"
}
]Actual behavior:
[
{
"t": "Text",
"c": "I want to set this dns record for example"
},
{
"t": "Link",
"c": {
"destination": {
"target": ".chat",
"hostname": ".chat: \ngoogle-site-verification=bn7",
"punycode": {
"original_hostname": ".chat: \ngoogle-site-verification=bn7",
"ascii_hostname": ".xn--chat: \ngoogle-site-verification=bn7-",
"punycode_encoded_url": ".chat"
}
}
}
},
{
"t": "Text",
"c": ": "
},
{
"t": "Linebreak"
},
{
"t": "Text",
"c": "google-site-verification=bn78"
}
]Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working