diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/guile/skribilo/engine/html.scm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/guile/skribilo/engine/html.scm b/src/guile/skribilo/engine/html.scm index bb2f1d0..2c70ef8 100644 --- a/src/guile/skribilo/engine/html.scm +++ b/src/guile/skribilo/engine/html.scm @@ -1721,8 +1721,11 @@ ignored, return #f." ;* center ... */ ;*---------------------------------------------------------------------*/ (markup-writer 'center - :before (html-markup-class "center") - :after "</center>\n") + :before (lambda (node engine) + (html-open 'span + `((class . ,(markup-class node)) + (style . "text-align: center")))) + :after "</span>\n") ;*---------------------------------------------------------------------*/ ;* pre ... */ |