@@ -348,7 +348,7 @@
|
|||||||
, htmlRegex = /<html[^>]+>/gi
|
, htmlRegex = /<html[^>]+>/gi
|
||||||
, htmlAttribsRegex = /\s?[a-z:]+(?:\=(?:\'|\")[^\'\">]+(?:\'|\"))*/gi
|
, htmlAttribsRegex = /\s?[a-z:]+(?:\=(?:\'|\")[^\'\">]+(?:\'|\"))*/gi
|
||||||
, matches = html.match(htmlRegex)
|
, matches = html.match(htmlRegex)
|
||||||
if (matches.length) {
|
if (matches && matches.length) {
|
||||||
matches = matches[0].match(htmlAttribsRegex)
|
matches = matches[0].match(htmlAttribsRegex)
|
||||||
if (matches.length) {
|
if (matches.length) {
|
||||||
matches.shift()
|
matches.shift()
|
||||||
|
|||||||
Reference in New Issue
Block a user