@gravity-ui/markdown-editor 14.0.2 → 14.0.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.
|
@@ -313,7 +313,7 @@ class MarkdownSerializerState {
|
|
|
313
313
|
// have special meaning only at the start of the line.
|
|
314
314
|
esc(str, startOfLine) {
|
|
315
315
|
var _a, _b;
|
|
316
|
-
const escRegexp = ((_a = this.options) === null || _a === void 0 ? void 0 : _a.commonEscape) || /[`\^+*\\\|~\[\]\{\}<>\$]/g;
|
|
316
|
+
const escRegexp = ((_a = this.options) === null || _a === void 0 ? void 0 : _a.commonEscape) || /[`\^+*\\\|~\[\]\{\}<>\$_]/g;
|
|
317
317
|
const startOfLineEscRegexp = ((_b = this.options) === null || _b === void 0 ? void 0 : _b.startOfLineEscape) || /^[:#\-*+>]/;
|
|
318
318
|
str = str.replace(escRegexp, '\\$&');
|
|
319
319
|
if (startOfLine)
|
package/build/cjs/version.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VERSION = void 0;
|
|
4
4
|
/** During build process, the current version will be injected here */
|
|
5
|
-
exports.VERSION = typeof '14.0.
|
|
5
|
+
exports.VERSION = typeof '14.0.3' !== 'undefined' ? '14.0.3' : 'unknown';
|
|
@@ -309,7 +309,7 @@ export class MarkdownSerializerState {
|
|
|
309
309
|
// have special meaning only at the start of the line.
|
|
310
310
|
esc(str, startOfLine) {
|
|
311
311
|
var _a, _b;
|
|
312
|
-
const escRegexp = ((_a = this.options) === null || _a === void 0 ? void 0 : _a.commonEscape) || /[`\^+*\\\|~\[\]\{\}<>\$]/g;
|
|
312
|
+
const escRegexp = ((_a = this.options) === null || _a === void 0 ? void 0 : _a.commonEscape) || /[`\^+*\\\|~\[\]\{\}<>\$_]/g;
|
|
313
313
|
const startOfLineEscRegexp = ((_b = this.options) === null || _b === void 0 ? void 0 : _b.startOfLineEscape) || /^[:#\-*+>]/;
|
|
314
314
|
str = str.replace(escRegexp, '\\$&');
|
|
315
315
|
if (startOfLine)
|
package/build/esm/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** During build process, the current version will be injected here */
|
|
2
|
-
export const VERSION = typeof '14.0.
|
|
2
|
+
export const VERSION = typeof '14.0.3' !== 'undefined' ? '14.0.3' : 'unknown';
|