@digitalculture/ochre-sdk 0.5.2 → 0.5.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.
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -243,7 +243,7 @@ function parseStringItem(item) {
|
|
|
243
243
|
break;
|
|
244
244
|
}
|
|
245
245
|
}
|
|
246
|
-
return returnString.replaceAll(/^(\d+)\./gm, String.raw`$1\.`);
|
|
246
|
+
return returnString.replaceAll("'", "'").replaceAll(/^(\d+)\./gm, String.raw`$1\.`);
|
|
247
247
|
}
|
|
248
248
|
function parseStringDocumentItem(item, footnotes) {
|
|
249
249
|
if (typeof item === "string" || typeof item === "number" || typeof item === "boolean") {
|
package/dist/index.js
CHANGED
|
@@ -166,7 +166,7 @@ function parseStringItem(item) {
|
|
|
166
166
|
break;
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
|
-
return returnString.replaceAll(/^(\d+)\./gm, String.raw`$1\.`);
|
|
169
|
+
return returnString.replaceAll("'", "'").replaceAll(/^(\d+)\./gm, String.raw`$1\.`);
|
|
170
170
|
}
|
|
171
171
|
function parseStringDocumentItem(item, footnotes) {
|
|
172
172
|
if (typeof item === "string" || typeof item === "number" || typeof item === "boolean") {
|
package/package.json
CHANGED