Added a rule to generate comments for *COMMENT* tags.
This commit is contained in:
parent
3511a9bffc
commit
573e980f33
|
@ -12,10 +12,18 @@
|
|||
*preorder*
|
||||
. ,(lambda (tag . text) text)))
|
||||
|
||||
(define comment-rule
|
||||
`(*COMMENT* *preorder*
|
||||
. ,(lambda (tag . elems)
|
||||
`("<!-- "
|
||||
,@elems
|
||||
"-->"))))
|
||||
|
||||
(define default-rules
|
||||
`(,attribute-rule
|
||||
,default-rule
|
||||
,text-rule
|
||||
,comment-rule
|
||||
,url-rule
|
||||
,plain-html-rule))
|
||||
|
||||
|
|
Loading…
Reference in New Issue