aboutsummaryrefslogtreecommitdiff
path: root/json-template.lisp
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2011-03-03 16:48:04 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2011-03-03 16:48:04 +0100
commit415bb34ffbf3e888972025dc7aada6bdf19861e1 (patch)
tree64cae4e35e51939e1fadc4ee2d0895a6ca00c809 /json-template.lisp
parent612ec030df3ac71ebb726d54584fcfebde78a6df (diff)
Add “html” and “html-attr-value” formatters.
Diffstat (limited to 'json-template.lisp')
-rw-r--r--json-template.lisp6
1 files changed, 1 insertions, 5 deletions
diff --git a/json-template.lisp b/json-template.lisp
index 2acc811..9e36a42 100644
--- a/json-template.lisp
+++ b/json-template.lisp
@@ -24,11 +24,6 @@
(in-package #:json-template)
-(defvar *template-formatters*
- `(;;("html" . format-html)
- ;;("html-attr-value" . format-html-attr-value)
- ("raw" . identity)))
-
(defun tokenize-template-string (string)
(loop with in-command-p = nil
with skip-newline-p = nil
@@ -188,3 +183,4 @@
(expand-template-to-stream branch (cons ctx contexts) stream))
value)
(expand-template-to-stream alternative contexts stream))))))))
+