@d10f/asciidoc-astro-loader 0.0.13 → 0.0.14
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.
|
@@ -88,7 +88,11 @@ var transformerPrompt = (options) => {
|
|
|
88
88
|
lastChild.children[0].value.match(/\s+\\n\s*$/)
|
|
89
89
|
) {
|
|
90
90
|
skipNext = true;
|
|
91
|
-
lastChild.children[0].value = ""
|
|
91
|
+
lastChild.children[0].value = // @ts-expect-error property "children" does exist
|
|
92
|
+
lastChild.children[0].value.replace(
|
|
93
|
+
/\s+\\n\s*$/,
|
|
94
|
+
""
|
|
95
|
+
);
|
|
92
96
|
}
|
|
93
97
|
}
|
|
94
98
|
if (skipCurrent) return;
|
package/dist/index.cjs
CHANGED
|
@@ -812,7 +812,11 @@ var transformerPrompt = (options) => {
|
|
|
812
812
|
lastChild.children[0].value.match(/\s+\\n\s*$/)
|
|
813
813
|
) {
|
|
814
814
|
skipNext = true;
|
|
815
|
-
lastChild.children[0].value = ""
|
|
815
|
+
lastChild.children[0].value = // @ts-expect-error property "children" does exist
|
|
816
|
+
lastChild.children[0].value.replace(
|
|
817
|
+
/\s+\\n\s*$/,
|
|
818
|
+
""
|
|
819
|
+
);
|
|
816
820
|
}
|
|
817
821
|
}
|
|
818
822
|
if (skipCurrent) return;
|
package/dist/index.js
CHANGED
|
@@ -117,7 +117,11 @@ var transformerPrompt = (options) => {
|
|
|
117
117
|
lastChild.children[0].value.match(/\s+\\n\s*$/)
|
|
118
118
|
) {
|
|
119
119
|
skipNext = true;
|
|
120
|
-
lastChild.children[0].value = ""
|
|
120
|
+
lastChild.children[0].value = // @ts-expect-error property "children" does exist
|
|
121
|
+
lastChild.children[0].value.replace(
|
|
122
|
+
/\s+\\n\s*$/,
|
|
123
|
+
""
|
|
124
|
+
);
|
|
121
125
|
}
|
|
122
126
|
}
|
|
123
127
|
if (skipCurrent) return;
|