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 }}
Continue reading
@@ -91,7 +91,7 @@
{{ post.title }}
- {{ post.body|parse_text(2)|raw }}
+ {{ post.body|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 %}