@lexical/markdown 0.53.0 → 0.53.1-nightly.20261029.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1891,7 +1891,7 @@ function importTextTransformers(textNode, textFormatTransformersIndex, textMatch
|
|
|
1891
1891
|
// or links). A code span must never be partially consumed by a text
|
|
1892
1892
|
// match, so prefer the code format unless the text match fully wraps it
|
|
1893
1893
|
// (in which case the code span is part of the match's raw content).
|
|
1894
|
-
// https://github.com/
|
|
1894
|
+
// https://github.com/meta/lexical/issues/8687
|
|
1895
1895
|
if (foundTextMatch.startIndex <= foundTextFormat.startIndex && foundTextMatch.endIndex >= foundTextFormat.endIndex) {
|
|
1896
1896
|
// foundTextMatch wraps the code span - apply foundTextMatch
|
|
1897
1897
|
foundTextFormat = null;
|
package/package.json
CHANGED
|
@@ -8,23 +8,23 @@
|
|
|
8
8
|
"markdown"
|
|
9
9
|
],
|
|
10
10
|
"license": "MIT",
|
|
11
|
-
"version": "0.53.0",
|
|
11
|
+
"version": "0.53.1-nightly.20261029.0",
|
|
12
12
|
"main": "./dist/LexicalMarkdown.js",
|
|
13
13
|
"types": "./dist/typescript-too-old.d.ts",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@lexical/code-core": "0.53.0",
|
|
16
|
-
"@lexical/internal": "0.53.0",
|
|
17
|
-
"@lexical/link": "0.53.0",
|
|
18
|
-
"@lexical/list": "0.53.0",
|
|
19
|
-
"@lexical/rich-text": "0.53.0",
|
|
20
|
-
"@lexical/selection": "0.53.0",
|
|
21
|
-
"@lexical/text": "0.53.0",
|
|
22
|
-
"@lexical/utils": "0.53.0",
|
|
23
|
-
"lexical": "0.53.0"
|
|
15
|
+
"@lexical/code-core": "0.53.1-nightly.20261029.0",
|
|
16
|
+
"@lexical/internal": "0.53.1-nightly.20261029.0",
|
|
17
|
+
"@lexical/link": "0.53.1-nightly.20261029.0",
|
|
18
|
+
"@lexical/list": "0.53.1-nightly.20261029.0",
|
|
19
|
+
"@lexical/rich-text": "0.53.1-nightly.20261029.0",
|
|
20
|
+
"@lexical/selection": "0.53.1-nightly.20261029.0",
|
|
21
|
+
"@lexical/text": "0.53.1-nightly.20261029.0",
|
|
22
|
+
"@lexical/utils": "0.53.1-nightly.20261029.0",
|
|
23
|
+
"lexical": "0.53.1-nightly.20261029.0"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|
|
27
|
-
"url": "git+https://github.com/
|
|
27
|
+
"url": "git+https://github.com/meta/lexical.git",
|
|
28
28
|
"directory": "packages/lexical-markdown"
|
|
29
29
|
},
|
|
30
30
|
"module": "./dist/LexicalMarkdown.js",
|
|
@@ -59,7 +59,7 @@ export function importTextTransformers(
|
|
|
59
59
|
// or links). A code span must never be partially consumed by a text
|
|
60
60
|
// match, so prefer the code format unless the text match fully wraps it
|
|
61
61
|
// (in which case the code span is part of the match's raw content).
|
|
62
|
-
// https://github.com/
|
|
62
|
+
// https://github.com/meta/lexical/issues/8687
|
|
63
63
|
if (
|
|
64
64
|
foundTextMatch.startIndex <= foundTextFormat.startIndex &&
|
|
65
65
|
foundTextMatch.endIndex >= foundTextFormat.endIndex
|