summaryrefslogtreecommitdiff
path: root/mulkcms.lisp
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2018-08-10 19:50:34 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2018-08-10 19:50:34 +0200
commit6700312a0b523a82b6dcf1a096e6ae1726d04e75 (patch)
treebd876ecbd3ded4fb88ad580f201afad6d2806e0d /mulkcms.lisp
parenta123c11685fa051697fe51a95f3e2fbde72a6eb1 (diff)
Assume UTF-8 when parsing templates.
This fixes a problem where the Docker version of MulkCMS was unable to parse the comment moderation page template.
Diffstat (limited to 'mulkcms.lisp')
-rw-r--r--mulkcms.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mulkcms.lisp b/mulkcms.lisp
index d1f866e..0e53c2d 100644
--- a/mulkcms.lisp
+++ b/mulkcms.lisp
@@ -324,7 +324,7 @@
year month day hour minute second)))
(defun template (template-name)
- (parse-template-string (read-file-into-string (find-template template-name))))
+ (parse-template-string (read-file-into-string (find-template template-name) :external-format :utf-8)))
(defun format-article (article-params)
(let ((article-template (template "article")))