Comparing version 0.5.6 to 0.5.7
@@ -204,4 +204,3 @@ const fs = require('fs'); | ||
function compile(str, path) { | ||
const templateCode = scanner(str, path).join(' ') | ||
.replace(new RegExp('\\\\', 'g'), '\\\\'); | ||
const templateCode = scanner(str.replace(new RegExp('\\\\', 'g'), '\\\\').replace(/"/g, '\\"'), path).join(' '); | ||
@@ -208,0 +207,0 @@ const fn = ` |
{ | ||
"name": "beard", | ||
"version": "0.5.6", | ||
"version": "0.5.7", | ||
"description": "More than a mustache.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
16166
283