diff options
author | Araq <rumpf_a@web.de> | 2014-01-18 01:16:45 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-01-18 01:16:45 +0100 |
commit | 36afdca87f3757c8468cbfa622de693447df7e07 (patch) | |
tree | 3b739b667574c12dea389a17d9d84291fd355463 /tests/showoff/thtml1.nim | |
parent | 5073914b8697a9fd1dc38bebef434b50850f2861 (diff) | |
parent | 3f8bfb1e988322ab60cc54184d63a00906260665 (diff) | |
download | Nim-36afdca87f3757c8468cbfa622de693447df7e07.tar.gz |
resolved conflicts with master
Diffstat (limited to 'tests/showoff/thtml1.nim')
-rw-r--r-- | tests/showoff/thtml1.nim | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/showoff/thtml1.nim b/tests/showoff/thtml1.nim new file mode 100644 index 000000000..cd95c7971 --- /dev/null +++ b/tests/showoff/thtml1.nim @@ -0,0 +1,11 @@ +discard """ + output: "<br>" +""" + +template htmlTag(tag: expr) {.immediate.} = + proc tag(): string = "<" & astToStr(tag) & ">" + +htmlTag(br) +htmlTag(html) + +echo br() |