yogthos/Selmer

known-variables and tags

Open

#306 opened on 2023年10月6日

GitHub で見る
 (8 comments) (0 reactions) (0 assignees)Clojure (670 stars) (86 forks)batch import
bughelp wanted

説明

It seems that #'parser/known-variables does not handle variables in tags correctly:

user=> (selmer/known-variables "{% if {{var}} %}{{other-var}}{% endif %}")
#{:other-var :{{var}}}
;; expected:
;; #{:other-var :var}

コントリビューターガイド

known-variables and tags · yogthos/Selmer#306 | Good First Issue