Blog: Don't show footnotes in post preview

This is the worst solution I possible could've done for this.
This commit is contained in:
2021-11-15 00:05:04 -08:00
parent c9f100c6d8
commit d0aee175ea
+3 -1
View File
@@ -6,7 +6,9 @@ from datetime import datetime
from email import utils
def remove_tags(text):
return re.sub(re.compile('<.*?>'), "", text)
text = re.sub(re.compile('>[0-9]<'), "", text)
text = re.sub(re.compile('<.*?>'), "", text)
return text
def get_path(path, ext_in, ext_out):
path = path[len("pages"):]