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.
This commit is contained in:
Julien Fastré 2025-05-28 16:35:06 +02:00
parent d82727f831
commit a8c41141e8
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

View File

@ -211,7 +211,7 @@
<h3 class="chill-beige">Public</h3>
{% if w.note is not empty %}
<blockquote class="chill-user-quote">
{{ w.note }}
{{ w.note|chill_markdown_to_html }}
</blockquote>
{% else %}
<span class="chill-no-data-statement">{{ 'No comment associated'|trans }}</span>