Skip to content

Commit

Permalink
fix(template): secure rendering by replacing t-raw with t-esc
Browse files Browse the repository at this point in the history
  • Loading branch information
jordyBSK authored and ecino committed Feb 11, 2025
1 parent ebdd7b5 commit 88afd0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion my_compassion/templates/my_account_write_a_letter.xml
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@
<t t-foreach="auto_texts" t-as="auto_text">
<span
t-attf-id="auto_text_#{auto_text}"
t-raw="auto_text_value"
t-esc="auto_text_value"
style="display: none;"
/>
</t>
Expand Down

0 comments on commit 88afd0e

Please sign in to comment.