summaryrefslogtreecommitdiff
path: root/bin/serve.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'bin/serve.fnl')
-rw-r--r--bin/serve.fnl4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/serve.fnl b/bin/serve.fnl
index d1be6be..51f5d6b 100644
--- a/bin/serve.fnl
+++ b/bin/serve.fnl
@@ -250,9 +250,7 @@
product.price-per
(< 0 product.price-per))
[:NO-ESCAPE (.. " (" product.price-per "₽ за&nbsp;1&nbsp;гр.)")]
- "")]
- ;; FIXME: security issue
- [:small {} [:NO-ESCAPE (unescape (str.truncate product.description 200))]]])
+ "")]])
(fn paginator-template [form page limit total]
(local last-page (math.ceil (/ total limit)))