From: Björn Lindqvist Date: Mon, 22 Jul 2013 12:27:10 +0000 (+0200) Subject: html.parser.printer: explaining comment X-Git-Tag: 0.97~1170 X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=commitdiff_plain;h=aef2e02c0b60f9ef99b139f20859aa266febbbca html.parser.printer: explaining comment --- diff --git a/extra/html/parser/printer/printer.factor b/extra/html/parser/printer/printer.factor index fbad8581df..f5fa7482ef 100644 --- a/extra/html/parser/printer/printer.factor +++ b/extra/html/parser/printer/printer.factor @@ -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 -- )