Update CodeMirror to 5.19.0 and rename jade to pug
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
|
||||
function getAttrValue(text, attr) {
|
||||
var match = text.match(getAttrRegexp(attr))
|
||||
return match ? match[2] : ""
|
||||
return match ? /^\s*(.*?)\s*$/.exec(match[2])[1] : ""
|
||||
}
|
||||
|
||||
function getTagRegexp(tagName, anchored) {
|
||||
|
||||
Reference in New Issue
Block a user