diff options
| author | tdro <tdro@noreply.example.com> | 2022-06-03 22:15:56 -0400 |
|---|---|---|
| committer | tdro <tdro@noreply.example.com> | 2022-06-03 22:15:56 -0400 |
| commit | 6a680e4fcb41897680f7f8ecff5fa7506c037e36 (patch) | |
| tree | 12d40872c880de11e21e7a6f081b54e0b1a961a0 | |
| parent | e03ed4438fce5a2224d151cc801e732f942f08a0 (diff) | |
| download | canory-6a680e4fcb41897680f7f8ecff5fa7506c037e36.tar.gz canory-6a680e4fcb41897680f7f8ecff5fa7506c037e36.tar.bz2 canory-6a680e4fcb41897680f7f8ecff5fa7506c037e36.zip | |
assets/templates/markdown-feed: Escape curly braces
Prevent processing remote short codes.
| -rw-r--r-- | assets/templates/markdown-feed.yaml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/assets/templates/markdown-feed.yaml b/assets/templates/markdown-feed.yaml index b75a713..bf883c0 100644 --- a/assets/templates/markdown-feed.yaml +++ b/assets/templates/markdown-feed.yaml @@ -20,4 +20,7 @@ feed: {{ end -}} --- -{{ .content }} [Read More →]({{ .link }}) +{{ .content + | replaceRE "{" "{" + | replaceRE "}" "}" +}} [Read More →]({{ .link }}) |
