From a8c41141e8c7c83378c5dca6d1c9ea8804dc0f2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Wed, 28 May 2025 16:35:06 +0200 Subject: [PATCH] Enhance note rendering with Markdown to HTML conversion in AccompanyingCourseWork/show.html.twig Updated the note display logic to use the `chill_markdown_to_html` filter for better formatting and presentation. This change ensures that Markdown syntax in notes is properly rendered as HTML. --- .../Resources/views/AccompanyingCourseWork/_item.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/_item.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/_item.html.twig index e041df14c..7b663e23d 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/_item.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/_item.html.twig @@ -211,7 +211,7 @@

Public

{% if w.note is not empty %}
- {{ w.note }} + {{ w.note|chill_markdown_to_html }}
{% else %} {{ 'No comment associated'|trans }}