@noirmd/previewer 1.1.0 → 1.1.1
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/NReditor.cjs +1 -1
- package/dist/NReditor.cjs.map +1 -1
- package/dist/NReditor.js +1 -1
- package/dist/NReditor.js.map +1 -1
- package/dist/core.cjs +1 -1
- package/dist/core.cjs.map +1 -1
- package/dist/core.js +1 -1
- package/dist/core.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.cjs.map +1 -1
- package/dist/react.js +1 -1
- package/dist/react.js.map +1 -1
- package/dist/vanilla.cjs +1 -1
- package/dist/vanilla.cjs.map +1 -1
- package/dist/vanilla.js +1 -1
- package/dist/vanilla.js.map +1 -1
- package/dist/vue.cjs +11 -20
- package/dist/vue.cjs.map +1 -1
- package/dist/vue.js +10 -4
- package/dist/vue.js.map +1 -1
- package/package.json +2 -2
package/dist/react.js
CHANGED
|
@@ -1658,7 +1658,7 @@ function parseHtmlAttrs(attrsString) {
|
|
|
1658
1658
|
// core/parser.ts
|
|
1659
1659
|
function parseMarkdown(markdown2) {
|
|
1660
1660
|
if (!markdown2) return [];
|
|
1661
|
-
const lines = markdown2.split("\n");
|
|
1661
|
+
const lines = markdown2.replace(/\r\n/g, "\n").replace(/\r/g, "").split("\n");
|
|
1662
1662
|
const result = [];
|
|
1663
1663
|
let i = 0;
|
|
1664
1664
|
while (i < lines.length) {
|