Skip to content

Commit

Permalink
HTML escaping hotfix part 2 - always escape target
Browse files Browse the repository at this point in the history
  • Loading branch information
zouharvi committed Aug 9, 2024
1 parent 163adf5 commit 869669e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,12 @@
<div class="source-box">
<div class="tutorial-text"></div>
<div class="source-text">
<!-- TODO: this means that HTML can be injected, incorrect! -->
{{ item.sourceText|safe }}
</div>

<div class="target-text">
{{item.targetText|safe}}
{{item.targetText}}
</div>
</div>

Expand Down

0 comments on commit 869669e

Please sign in to comment.