···7878 let list = [], named = {}
7979 list.named = named
8080 for (let arg of arglist.split(";")) {
8181- let [, name, value] = /^(?:([^=]*)=)?(.*)$/.exec(arg)
8181+ let [, name, value] = /^(?:([-\w]*)=)?(.*)$/.exec(arg)
8282 // value OR =value
8383 // (this is to allow values to contain =. ex: [=1=2] is "1=2")
8484 if (!name)
···477477 body = true // ghhhh?
478478 //BLOCK('anchor', {id})
479479 } break; case '\\link': {
480480- let args = {url: rargs[0]}
480480+ let [url=""] = rargs
481481+ let args = {url}
481482 if (body) {
482483 OPEN('link', args)
483484 } else {
···648649 let indent = token.indexOf("-")
649650 OPEN('list_item', {indent, kind:rargs[0]==="1"?"1":undefined})
650651 } }
651651-652652+652653 if (body) {
653654 text = text.substring(last)
654655 last = REGEX.lastIndex = 0