4.2: an autolink holding a backtick gives way inside a directive's content

This commit is contained in:
2026-09-14 22:39:20 +02:00
parent e166e969cb
commit b6930b45a4
4 changed files with 61 additions and 7 deletions
@@ -0,0 +1,50 @@
{
"content": [
{
"content": [
{
"marks": [
{
"type": "underline"
},
{
"attrs": {
"href": "http://a`b"
},
"type": "link"
}
],
"text": "http://a`b",
"type": "text"
},
{
"text": "`c",
"type": "text"
}
],
"type": "paragraph"
},
{
"content": [
{
"marks": [
{
"type": "underline"
},
{
"attrs": {
"href": "http://d`e"
},
"type": "link"
}
],
"text": "http://d`e",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "doc",
"version": 1
}
@@ -0,0 +1,3 @@
:underline[[http://a\`b](http://a\`b)]`c
:underline[[http://d\`e](http://d`e)]