Allow tt in comments, class in pre
This commit is contained in:
parent
17905ace44
commit
f290d7c2c7
1 changed files with 6 additions and 2 deletions
|
@ -94,6 +94,9 @@
|
|||
(define (marxdown->sxml text)
|
||||
(smarxdown->shtml (call-with-input-string text marxdown->smarxdown)))
|
||||
|
||||
(define (pre-class? class)
|
||||
(string-prefix? "pre-" class))
|
||||
|
||||
(define *allowed-tags*
|
||||
`((a (href . ,urlish?) title)
|
||||
(abbr title)
|
||||
|
@ -105,9 +108,10 @@
|
|||
(em)
|
||||
(i)
|
||||
(p)
|
||||
(pre)
|
||||
(pre (class . ,pre-class?))
|
||||
(strike)
|
||||
(strong)))
|
||||
(strong)
|
||||
(tt)))
|
||||
|
||||
(define (compile-sxslt-rules tags)
|
||||
(define (ok . body)
|
||||
|
|
Loading…
Reference in a new issue