@rasenganjs/mdx 1.2.0 → 1.2.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/CHANGELOG.md +2 -0
- package/dist/plugin.cjs +1 -1
- package/dist/plugin.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/plugin.cjs
CHANGED
|
@@ -223,7 +223,7 @@ async function plugin(options) {
|
|
|
223
223
|
|
|
224
224
|
const metadata = ${JSON.stringify(metadata)};
|
|
225
225
|
const toc = ${isTocVisible ? JSON.stringify(toc) : void 0};
|
|
226
|
-
const raw = ${content};
|
|
226
|
+
const raw = ${JSON.stringify(content)};
|
|
227
227
|
|
|
228
228
|
|
|
229
229
|
// This object is handled by packages/rasengan itself
|
package/dist/plugin.js
CHANGED
|
@@ -105,7 +105,7 @@ async function plugin(options) {
|
|
|
105
105
|
|
|
106
106
|
const metadata = ${JSON.stringify(metadata)};
|
|
107
107
|
const toc = ${isTocVisible ? JSON.stringify(toc) : void 0};
|
|
108
|
-
const raw = ${content};
|
|
108
|
+
const raw = ${JSON.stringify(content)};
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
// This object is handled by packages/rasengan itself
|