diff options
author | tdro <tdro@noreply.example.com> | 2022-06-13 22:40:39 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-06-13 22:40:39 -0400 |
commit | c351b53cf258081d590e8b60d204d8d9401924bb (patch) | |
tree | eae9d15b472050c13374efd7b1b25455a8ed6bdf /assets/templates | |
parent | 015924a6f017ab66105549b98c9e29a536af1cdd (diff) | |
download | canory-c351b53cf258081d590e8b60d204d8d9401924bb.tar.gz canory-c351b53cf258081d590e8b60d204d8d9401924bb.tar.bz2 canory-c351b53cf258081d590e8b60d204d8d9401924bb.zip |
assets/templates/markdown-feed: Encode feed values into JSON
Some mapping symbols can slip through.
Diffstat (limited to 'assets/templates')
-rw-r--r-- | assets/templates/markdown-feed.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/templates/markdown-feed.yaml b/assets/templates/markdown-feed.yaml index d39a999..7225f46 100644 --- a/assets/templates/markdown-feed.yaml +++ b/assets/templates/markdown-feed.yaml @@ -16,7 +16,7 @@ feed: (ne $key "date") (ne $key "tags") -}} -{{ print " " }}{{- $key }}: {{ $value }} +{{ print " " }}{{- $key }}: {{ $value | jsonify }} {{ end -}} {{ end -}} --- |