alignment
This commit is contained in:
parent
4843bd69d4
commit
6e1d89e187
@ -19,7 +19,7 @@ module.exports = (grunt) ->
|
|||||||
if part = text.match /^ [\w-]+(?![\w-=])/ # boolean attribute
|
if part = text.match /^ [\w-]+(?![\w-=])/ # boolean attribute
|
||||||
else if part = text.match /^ [\w-]+=(['"])/ # start of attribute value
|
else if part = text.match /^ [\w-]+=(['"])/ # start of attribute value
|
||||||
context = part[1]
|
context = part[1]
|
||||||
else if part = text.match /^>/ # end of HTML tag
|
else if part = text.match /^>/ # end of HTML tag
|
||||||
context = ''
|
context = ''
|
||||||
when "'", '"'
|
when "'", '"'
|
||||||
if part = text.match /^[^'"<>]+/ # attribute value
|
if part = text.match /^[^'"<>]+/ # attribute value
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user