- Issue created by @euk
- last update
10 months ago 3 pass I have changed
- {{ item|striptags('')|raw }}
please review the patch
When results are rendered, all tags are stripped except for <strong>
, leaving it not closed:
This makes the results look like this - subsequent text is all in bold:
The culprit is the template at line #23, which essentially strips all tags except <strong>
:
{% for idx, item in value.field %}
<li>{{ item|striptags('<strong>')|raw }}</li>
{% endfor %}
Fix striptags
filter application in the template.
Active
User interface
I have changed
please review the patch