diff --git a/templates/changelog/change.twig b/templates/changelog/change.twig index 27fe5ab..c74c392 100644 --- a/templates/changelog/change.twig +++ b/templates/changelog/change.twig @@ -60,7 +60,7 @@

{{ title }}

{% if change_info.hasBody %} - {{ change_info.body|parse_text(2)|raw }} + {{ change_info.body|escape|parse_text(2)|raw }} {% else %}

This change has no additional notes.

{% endif %} diff --git a/templates/home/landing.twig b/templates/home/landing.twig index c4af728..9ffcef4 100644 --- a/templates/home/landing.twig +++ b/templates/home/landing.twig @@ -169,7 +169,7 @@ {% for post in featured_news %}

{{ post.title }}

-

{{ post.firstParagraph|parse_text(2)|raw }}

+

{{ post.firstParagraph|escape|parse_text(2)|raw }}

Continue reading | diff --git a/templates/manage/users/note.twig b/templates/manage/users/note.twig index 027d30e..c039e09 100644 --- a/templates/manage/users/note.twig +++ b/templates/manage/users/note.twig @@ -57,7 +57,7 @@ {% if not note_new and note_info.hasBody %}
- {{ note_info.body|parse_text(2)|raw }} + {{ note_info.body|escape|parse_text(2)|raw }}
{% else %}
diff --git a/templates/manage/users/notes.twig b/templates/manage/users/notes.twig index 110c9eb..e0aebf2 100644 --- a/templates/manage/users/notes.twig +++ b/templates/manage/users/notes.twig @@ -71,9 +71,9 @@ {% if note.info.hasBody %}
{% if notes_filtering %} - {{ note.info.body|parse_text(2)|raw }} + {{ note.info.body|escape|parse_text(2)|raw }} {% else %} - {{ note.info.firstParagraph|parse_text(2)|raw }} + {{ note.info.firstParagraph|escape|parse_text(2)|raw }} {% endif %}
{% else %} diff --git a/templates/news/macros.twig b/templates/news/macros.twig index f4164f4..3ad44c7 100644 --- a/templates/news/macros.twig +++ b/templates/news/macros.twig @@ -36,7 +36,7 @@
- {{ post.post.firstParagraph|parse_text(2)|raw }} + {{ post.post.firstParagraph|escape|parse_text(2)|raw }}
{% endmacro %} diff --git a/templates/profile/index.twig b/templates/profile/index.twig index b57fbea..5f0df69 100644 --- a/templates/profile/index.twig +++ b/templates/profile/index.twig @@ -271,7 +271,7 @@
{% else %}
- {{ profile_user.aboutContent|parse_text(profile_user.aboutParser)|raw }} + {{ profile_user.aboutContent|escape|parse_text(profile_user.aboutParser)|raw }}
{% endif %}
@@ -288,7 +288,7 @@
{% else %}
- {{ profile_user.signatureContent|parse_text(profile_user.signatureParser)|raw }} + {{ profile_user.signatureContent|escape|parse_text(profile_user.signatureParser)|raw }}
{% endif %}