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



                      
 
                       
 
                                                            
 
                                                          
 

 
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>")