Fix emph lowering
This commit is contained in:
parent
2d102677d1
commit
4a9766c6c1
1 changed files with 3 additions and 3 deletions
|
@ -603,9 +603,9 @@
|
||||||
(define (transform-inline exp)
|
(define (transform-inline exp)
|
||||||
(match exp
|
(match exp
|
||||||
(('inline-xml xml) (handle-inline-xml xml))
|
(('inline-xml xml) (handle-inline-xml xml))
|
||||||
(('code . body) exp)
|
(('code . body) `(tt . ,body))
|
||||||
(('emph . body) `(emph . ,(map transform-inline body)))
|
(('emph . body) `(i . ,(map transform-inline body)))
|
||||||
(('strong . body) `(strong . ,(map transform-inline body)))
|
(('strong . body) `(b . ,(map transform-inline body)))
|
||||||
(('link dest . body) `(a (@ (href ,dest)) . ,(map transform-inline body)))
|
(('link dest . body) `(a (@ (href ,dest)) . ,(map transform-inline body)))
|
||||||
((? string? str) str)))
|
((? string? str) str)))
|
||||||
(define (transform-block exp)
|
(define (transform-block exp)
|
||||||
|
|
Loading…
Reference in a new issue