Skip to content

Commit

Permalink
Avoid urlizing richtext fields
Browse files Browse the repository at this point in the history
The richtext blocks should handle formatting the links which will result in a tags. This is why we need the `|safe` template filter.
  • Loading branch information
tim-schilling authored Jun 25, 2024
1 parent f2844a1 commit ec7a32e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indymeet/templates/blocks/rich_text.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<div class="mt-3 ">
{{ value.text|safe|urlize }}
{{ value.text|safe }}
</div>

0 comments on commit ec7a32e

Please sign in to comment.