@haklex/rich-litexml-cli 0.64.3 → 0.65.2
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.
- package/dist/cli.mjs +2 -1
- package/package.json +4 -4
package/dist/cli.mjs
CHANGED
|
@@ -29971,7 +29971,8 @@ function createReaderContext(registry) {
|
|
|
29971
29971
|
pendingText = "";
|
|
29972
29972
|
return;
|
|
29973
29973
|
}
|
|
29974
|
-
|
|
29974
|
+
const text = blockLevel ? pendingText.replace(/^\s*\n[ \t]*/, "").replace(/\n\s*$/, "") : pendingText;
|
|
29975
|
+
nodes.push(makeTextNode(text, 0));
|
|
29975
29976
|
pendingText = "";
|
|
29976
29977
|
};
|
|
29977
29978
|
for (const child of element.childNodes) if (child.nodeType === 3) pendingText += child.textContent ?? "";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haklex/rich-litexml-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.65.2",
|
|
4
4
|
"description": "Unified CLI for haklex LiteXML: convert LiteXML or Lexical JSON to HTML, JSON, or Markdown.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"dist"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@haklex/rich-compose": "0.
|
|
20
|
-
"@haklex/rich-headless": "0.
|
|
21
|
-
"@haklex/rich-litexml": "0.
|
|
19
|
+
"@haklex/rich-compose": "0.65.2",
|
|
20
|
+
"@haklex/rich-headless": "0.65.2",
|
|
21
|
+
"@haklex/rich-litexml": "0.65.2",
|
|
22
22
|
"@lexical/headless": "^0.53.0",
|
|
23
23
|
"lexical": "^0.53.0"
|
|
24
24
|
},
|