html.parser.printer: explaining comment

db4
Björn Lindqvist 2013-07-22 14:27:10 +02:00 committed by John Benediktsson
parent 68381dd571
commit aef2e02c0b
1 changed files with 1 additions and 0 deletions

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