@october/slate-md-serializer
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -309,3 +309,3 @@ "use strict"; | ||
// escape markdown characters | ||
leavesText = leavesText.replace(/([\\`*{}\[\]()#+\-.!_>%])/gi, "\\$1").replace(/\n/g, " \n"); // format softBreaks | ||
leavesText = leavesText.replace(/([\\`*{}\[\]()#+\-._>%])/gi, "\\$1").replace(/\n/g, " \n"); // format softBreaks | ||
} | ||
@@ -312,0 +312,0 @@ var string = new String({ text: leavesText }); |
{ | ||
"name": "@october/slate-md-serializer", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/renderer.js", |
@@ -260,3 +260,3 @@ import parser from "./parser"; | ||
leavesText = leavesText | ||
.replace(/([\\`*{}\[\]()#+\-.!_>%])/gi, "\\$1") | ||
.replace(/([\\`*{}\[\]()#+\-._>%])/gi, "\\$1") | ||
.replace(/\n/g, " \n"); // format softBreaks | ||
@@ -263,0 +263,0 @@ } |
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
284386