mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-09 21:28:13 +00:00
fixes #13444
This commit is contained in:
@@ -89,7 +89,7 @@ proc xmlCheckedTag*(argsList: NimNode, tag: string, optAttr = "", reqAttr = "",
|
||||
for i in 0 ..< argsList.len:
|
||||
if argsList[i].kind == nnkExprEqExpr:
|
||||
var name = getIdent(argsList[i][0])
|
||||
if delete(req, name) or delete(opt, name):
|
||||
if name.startsWith("data-") or delete(req, name) or delete(opt, name):
|
||||
result.add(newStrLitNode(" "))
|
||||
result.add(newStrLitNode(name))
|
||||
result.add(newStrLitNode("=\""))
|
||||
|
||||
Reference in New Issue
Block a user