mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-23 19:47:03 -04:00
Update CodeMirror to 5.19.0 and rename jade to pug
This commit is contained in:
parent
fb5d7e4359
commit
795ea21191
30 changed files with 341 additions and 209 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue