discard """ output: ''' @[] true ''' """ import htmlparser import xmltree import strutils from streams import newStringStream block t2813: const html = """
A | |
B | |
A | |
B | |
C | |
A |
that
" as children ## ##that
##that
##that
$2>" % [desc_item, ltype[1]] let list = """ <$1> $2 $1> """ % [ltype[0], item] var errors : seq[string] = @[] let parseH = parseHtml(newStringStream(list),"statichtml", errors =errors) if $parseH.findAll(ltype[1])[0].child("p") != "that
": echo "case " & ltype[0] & " failed !" quit(2) echo "true"