Skip to content

Commit 578948c

Browse files
committed
Strip html tags from page title attribute
1 parent 86ca78c commit 578948c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% extends "base.html" %}
22

3-
{% block title %}{{ page.title }} | {{ config.title }}{% endblock title %}
3+
{% block title %}{{ page.title | striptags }} | {{ config.title }}{% endblock title %}
44

55
{% block main %}
66
<h1>{{ page.title | safe}}</h1>

0 commit comments

Comments
 (0)