summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xjson-template.rkt5
1 files changed, 3 insertions, 2 deletions
diff --git a/json-template.rkt b/json-template.rkt
index b32b4ab..20eb2c3 100755
--- a/json-template.rkt
+++ b/json-template.rkt
@@ -353,7 +353,7 @@
;;#;
(let ([template (with-input-from-string
- "
+ #<<EOF
<h1>{title|html}</h1>
{.section people}
<ul>
@@ -363,7 +363,8 @@
</ul>
{.or}
<p>No one's registered.</p>
-{.end}"
+{.end}
+EOF
(λ () (read-template)))])
(template '((title . "<Registered People>")
(people .