Search results output includes <strong> tag, which breaks the output.

Created on 27 February 2024, 10 months ago

Problem/Motivation

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 %}

Proposed resolution

Fix striptags filter application in the template.

πŸ› Bug report
Status

Active

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States euk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    There was already an MR

  • Production build 0.71.5 2024