summary refs log blame commit diff stats
path: root/tests/stdlib/txmltree.nim
blob: bfe2dc94a75c49391e1279f97869cb58acdc85ee (plain) (tree)
1
2
3
4
5
6
7
8
9



                      
 
                       
 
                                                      
 
                                                    
 

 
discard """
  file: "txmltree.nim"
  output: "true"
"""

import xmltree, strtabs

var x = <>a(href="nim.de", newText("www.nim-test.de"))

echo($x == "<a href=\"nim.de\">www.nim-test.de</a>")