2 html.parser html.parser.printer
7 IN: html.parser.printer.tests
12 5 #indentations [ [ indent ] with-string-writer ] with-variable
16 " href='http://www.google.com' rel='nofollow'"
18 H{ { "href" "http://www.google.com" } { "rel" "nofollow" } }
19 [ print-attributes ] with-string-writer
23 "<p>\n Sup dude!\n <br>\n</p>\n"
25 "<p>Sup dude!<br></p>" parse-html [ prettyprint-html ] with-string-writer
30 "<div>\n <p>\n Sup dude!\n <br>\n </div>\n</p>\n"
32 "<div><p>Sup dude!<br></div></p>" parse-html
33 [ prettyprint-html ] with-string-writer