From c8bd048c321bc44f525ebb9144a5356e3f13574d Mon Sep 17 00:00:00 2001
From: "M. Taylor Saotome-Westlake" <ultimatelyuntruethought@gmail.com>
Date: Mon, 31 Aug 2020 17:51:23 -0700
Subject: [PATCH] strip HTML inside <title> tags

---
 notes/tech_tasks.txt         | 1 -
 theme/templates/article.html | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/notes/tech_tasks.txt b/notes/tech_tasks.txt
index a1de76c..498c9dc 100644
--- a/notes/tech_tasks.txt
+++ b/notes/tech_tasks.txt
@@ -1,4 +1,3 @@
-filter HTML (e.g., <em>) from rendered post <title>s
 /count firing on individual post pages (suboptimal)
 rework footnotes plugin!? (Markdown footnote format is better than [ref][/ref] tags)
 self-host a copy of Source Sans Pro (I'm annoyed that my devserver preview fonts  are ugly when I've killed my network connection so I can focus for once)
diff --git a/theme/templates/article.html b/theme/templates/article.html
index 2069815..1d1ba69 100644
--- a/theme/templates/article.html
+++ b/theme/templates/article.html
@@ -1,5 +1,5 @@
 {% extends "base.html" %}
-{% block title %}{{ article.title }} ★ {{ SITENAME }}{% endblock %}
+{% block title %}{{ article.title|striptags }} ★ {{ SITENAME }}{% endblock %}
 
 {% block extra_meta %}
 
-- 
2.17.1