Fixes #4377.
This commit is contained in:
parent
e2787c557c
commit
45821ea2ab
3 changed files with 55 additions and 34 deletions
|
|
@ -59,8 +59,8 @@ proc xmlCheckedTag*(e: NimNode, tag: string, optAttr = "", reqAttr = "",
|
|||
|
||||
# copy the attributes; when iterating over them these lists
|
||||
# will be modified, so that each attribute is only given one value
|
||||
var req = split(reqAttr)
|
||||
var opt = split(optAttr)
|
||||
var req = splitWhitespace(reqAttr)
|
||||
var opt = splitWhitespace(optAttr)
|
||||
result = newNimNode(nnkBracket, e)
|
||||
result.add(newStrLitNode("<"))
|
||||
result.add(newStrLitNode(tag))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue