blob: 931871f15bdc9a3600dd6e7d319db5d8c36d7d8c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
discard """
file: "txmltree.nim"
output: "true"
"""
import xmltree, strtabs
var x = <>a(href="nimrod.de", newText("www.nimrod-test.de"))
echo($x == "<a href=\"nimrod.de\">www.nimrod-test.de</a>")
|