From 00122c09063ee369533e874558c6c9f6fbca3618 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Thu, 10 Mar 2011 17:05:22 +0100 Subject: Fix formatting. --- mulkcms.lisp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mulkcms.lisp b/mulkcms.lisp index 13aea8d..6a5423a 100644 --- a/mulkcms.lisp +++ b/mulkcms.lisp @@ -61,13 +61,12 @@ ;; Taken from Mulkblog. (with-html-output-to-string (out) (loop for last-position = 0 then (cadr matches) - for matches = (ppcre:all-matches "(\\n|\\r|\\r\\n)(\\n|\\r|\\r\\n)+" - text) + for matches = (ppcre:all-matches "(\\n|\\r|\\r\\n)(\\n|\\r|\\r\\n)+" text) then (cddr matches) while (not (endp matches)) do (htm (:p (esc (subseq text last-position (car matches))))) finally - (htm (:p (esc (subseq text last-position))))))) + (htm (:p (esc (subseq text last-position))))))) (defun paramify-comment (comment-revision-data) (destructuring-bind (crid comment date content author format status -- cgit v1.2.3