@roamhq/draft-js-export-markdown
Advanced tools
Comparing version 2.0.3 to 2.0.5
@@ -349,3 +349,3 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); } | ||
function encodeContent(text) { | ||
return text.replace(/[*_`]/g, '\\$&'); | ||
return text.replace(/[*_`\[\]()~\\]/g, '\\$&'); | ||
} | ||
@@ -352,0 +352,0 @@ |
@@ -357,3 +357,3 @@ "use strict"; | ||
function encodeContent(text) { | ||
return text.replace(/[*_`]/g, '\\$&'); | ||
return text.replace(/[*_`\[\]()~\\]/g, '\\$&'); | ||
} | ||
@@ -360,0 +360,0 @@ |
@@ -6,3 +6,3 @@ { | ||
}, | ||
"version": "2.0.3", | ||
"version": "2.0.5", | ||
"description": "DraftJS: Export ContentState to Markdown", | ||
@@ -49,3 +49,3 @@ "main": "lib/main.js", | ||
"homepage": "https://github.com/sstur/draft-js-utils/blob/master/packages/draft-js-export-markdown/README.md", | ||
"gitHead": "0009458807d22b7fee55369c3019458ec5080cab" | ||
"gitHead": "6e9074f8f03c349a5b4efd2a5bb88f67b7188725" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33632