okfde / froide

Freedom Of Information Portal
MIT License
353 stars 86 forks source link

Fix interpolation of query highlight #787

Closed stefanw closed 1 week ago

stefanw commented 1 week ago

Query highlight is already marked safe, but could contain braces that interfere with string interpolation. Interpolating it directly via format_html works, because the function respects safe strings.