@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 CHANGED
@@ -1,5 +1,7 @@
1
1
  ## Unreleased
2
2
 
3
+ ## 1.2.1 (2026-04-03)
4
+
3
5
  ## 1.2.0 (2026-04-03)
4
6
 
5
7
  ## 1.2.0-beta.8 (2026-03-14)
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
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rasenganjs/mdx",
3
3
  "private": false,
4
- "version": "1.2.0",
4
+ "version": "1.2.1",
5
5
  "description": "RasenganJS plugin for MDX support",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",