From 3f5ade2e7a139bb4405437e8fc5546aafc7b05ef Mon Sep 17 00:00:00 2001 From: unwox Date: Fri, 3 Oct 2025 11:56:37 +0600 Subject: WIP shop --- macros.fnl | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'macros.fnl') diff --git a/macros.fnl b/macros.fnl index 6053f6a..de9a71b 100644 --- a/macros.fnl +++ b/macros.fnl @@ -1,10 +1,11 @@ -(local entity-replacements {"&" "&" ; must be first! - "<" "<" - ">" ">" - "\"" """}) +(local entity-replacements + {"&" "&" ; must be first! + "<" "<" + ">" ">" + "\"" """}) (local entity-search - (.. "[" (table.concat (icollect [k (pairs entity-replacements)] k)) "]")) + (.. "[" (table.concat (icollect [k (pairs entity-replacements)] k)) "]")) (fn escape-html [s] (assert (= (type s) :string)) -- cgit v1.2.3