From e2bd6f9a34f12cf177c66c2836a0c37ca3f66e3f Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Wed, 29 Jul 2020 12:07:10 -0700 Subject: [PATCH] Escape article.title throughout jinja templates. --- voussoir.net/writing/generate_site.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/voussoir.net/writing/generate_site.py b/voussoir.net/writing/generate_site.py index 91ca10a..857c388 100644 --- a/voussoir.net/writing/generate_site.py +++ b/voussoir.net/writing/generate_site.py @@ -343,7 +343,7 @@ def make_tag_page(index, path): @@ -408,7 +408,7 @@ def write_writing_index(): @@ -420,7 +420,7 @@ def write_writing_index(): {% for article in articles_edited %} {% if article.edited and article.edited != article.date %}
  • - {{article.date}} - {{article.title}} ({{article.edited}}) + {{article.date}} - {{article.title|e}} ({{article.edited}})
  • {% endif %} {% endfor %} @@ -444,7 +444,7 @@ def write_rss(): {% for article in articles %} - {{article.title}} + {{article.title|e}} https://voussoir.net/writing/{{article.web_path}} {{article.date}}