1
0
Fork 0

Fix format for comments

This commit is contained in:
Andy Wingo 2022-10-20 22:42:57 +02:00
parent 4374fbf1dc
commit f424227fff

View file

@ -88,7 +88,7 @@
(a (@ (href ,(string-append "#" (assq-ref comment 'key))))
,(comment-readable-date comment)))
,(neutralize-links
(let ((format (or (assq-ref comment 'format) 'marxdown)))
(let ((format (or (assq-ref comment 'format) 'wordpress)))
((case format
((wordpress) wordpress->sxml)
((marxdown) marxdown->sxml)
@ -148,6 +148,7 @@
(author . ,(de-newline author))
(author_email . ,email)
(author_url . ,url)
(format . marxdown)
(raw-content . ,content))))
(define (make-new-comment key title comment)