]> gitweb.factorcode.org Git - factor.git/commitdiff
html.parser.printer: explaining comment
authorBjörn Lindqvist <bjourne@gmail.com>
Mon, 22 Jul 2013 12:27:10 +0000 (14:27 +0200)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 5 Aug 2013 16:56:43 +0000 (09:56 -0700)
extra/html/parser/printer/printer.factor

index fbad8581df08c9e2df7d42b7cdc866b175708651..f5fa7482ef7e4f8fa0124159b2d16f7adad934c9 100644 (file)
@@ -81,6 +81,7 @@ SYMBOL: tagstack
 M: html-prettyprinter print-opening-tag ( tag -- )
     name>>
     [ tabs "<" append ">\n" surround write ]
+    ! These tags usually don't have any closing tag associated with them.
     [ { "br" "img" } member? [ #indentations inc ] unless ] bi ;
 
 M: html-prettyprinter print-closing-tag ( tag -- )