@fileverse-dev/ddoc 2.0.6-patch-2 → 2.0.6-patch-3

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.
Files changed (2) hide show
  1. package/dist/index.es.js +2 -2
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -107363,7 +107363,7 @@ const Sct = sn.create({
107363
107363
  new Io({
107364
107364
  find: /<sup>(.*?)<\/sup>/,
107365
107365
  handler: ({ state: t, range: e, match: n }) => {
107366
- const { tr: r } = t, i = e.from - 1, s = e.to, o = n[1];
107366
+ const { tr: r } = t, i = e.from, s = e.to, o = n[1];
107367
107367
  r.replaceWith(
107368
107368
  i,
107369
107369
  s,
@@ -107376,7 +107376,7 @@ const Sct = sn.create({
107376
107376
  new Io({
107377
107377
  find: /<sub>(.*?)<\/sub>/,
107378
107378
  handler: ({ state: t, range: e, match: n }) => {
107379
- const { tr: r } = t, i = e.from - 1, s = e.to, o = n[1];
107379
+ const { tr: r } = t, i = e.from, s = e.to, o = n[1];
107380
107380
  r.replaceWith(
107381
107381
  i,
107382
107382
  s,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/ddoc",
3
3
  "private": false,
4
4
  "description": "DDoc",
5
- "version": "2.0.6-patch-2",
5
+ "version": "2.0.6-patch-3",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {