Fix issue reading posts body with Haunt 0.2.5 master
authorJavier Sancho <jsf@jsancho.org>
Fri, 2 Jul 2021 11:34:43 +0000 (11:34 +0000)
committerJavier Sancho <jsf@jsancho.org>
Fri, 2 Jul 2021 11:34:43 +0000 (11:34 +0000)
haunt.scm

index c594fd9..89b8e7e 100644 (file)
--- a/haunt.scm
+++ b/haunt.scm
                     
            (define (post-summary post)
              (or (post-ref post 'summary)
-                (get-paragraphs (cdr (post-sxml post)) 3)))
+                (get-paragraphs (cdar (post-sxml post)) 3)))
 
            `(
             ,@(map (lambda (post)