html-format
Advanced tools
Comparing version 1.1.6 to 1.1.7
@@ -5,4 +5,4 @@ const tagName = String.raw`[A-Za-z][^/\s>]*`; | ||
// Avoid apostrophes and unintentional captures | ||
const doubleQuotedString = String.raw`(?<!\w)"(?:\\[^<>\n]|[^\\"<>\n])*"(?!\w)`; | ||
const singleQuotedString = String.raw`(?<!\w)'(?:\\[^<>\n]|[^\\'<>\n])*'(?!\w)`; | ||
const doubleQuotedString = String.raw`\B"(?:\\[^<>\n]|[^\\"<>\n])*"(?!\w)`; | ||
const singleQuotedString = String.raw`\B'(?:\\[^<>\n]|[^\\'<>\n])*'(?!\w)`; | ||
const quotedString = String.raw`${doubleQuotedString}|${singleQuotedString}`; | ||
@@ -9,0 +9,0 @@ |
{ | ||
"name": "html-format", | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"description": "Format HTML strings.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
9327