diff options
author | Dominik Picheta <dominikpicheta@gmail.com> | 2017-11-27 17:51:23 +0000 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-11-28 21:55:29 +0100 |
commit | 45821ea2ab081a77b057b6837dae5be52b975cee (patch) | |
tree | 0d1c38e22c6a927f5a8925fc484e80064aae5dfe /lib/pure/htmlgen.nim | |
parent | e2787c557cdabb45d90fa67fd54e57fab920171b (diff) | |
download | Nim-45821ea2ab081a77b057b6837dae5be52b975cee.tar.gz |
Fixes #4377.
Diffstat (limited to 'lib/pure/htmlgen.nim')
-rw-r--r-- | lib/pure/htmlgen.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/htmlgen.nim b/lib/pure/htmlgen.nim index ad199a215..c0934a45b 100644 --- a/lib/pure/htmlgen.nim +++ b/lib/pure/htmlgen.nim @@ -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)) |