html.parser.printer: explaining comment
parent
68381dd571
commit
aef2e02c0b
|
@ -81,6 +81,7 @@ SYMBOL: tagstack
|
||||||
M: html-prettyprinter print-opening-tag ( tag -- )
|
M: html-prettyprinter print-opening-tag ( tag -- )
|
||||||
name>>
|
name>>
|
||||||
[ tabs "<" append ">\n" surround write ]
|
[ tabs "<" append ">\n" surround write ]
|
||||||
|
! These tags usually don't have any closing tag associated with them.
|
||||||
[ { "br" "img" } member? [ #indentations inc ] unless ] bi ;
|
[ { "br" "img" } member? [ #indentations inc ] unless ] bi ;
|
||||||
|
|
||||||
M: html-prettyprinter print-closing-tag ( tag -- )
|
M: html-prettyprinter print-closing-tag ( tag -- )
|
||||||
|
|
Loading…
Reference in New Issue