Allow mark HTML tag in translatable strings

Created on 17 September 2018, almost 6 years ago
Updated 25 January 2023, over 1 year ago

Problem/Motivation

Currently, the <mark> HTML tag is not allowed inside of translatable strings.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark

Proposed resolution

Please add <mark> tag to the locale_string_is_safe() function.

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Needs work

Version

10.1 ✨

Component
Locale  →

Last updated 3 days ago

Created by

🇺🇸United States Daniel Korte Brooklyn, NY

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States smustgrave

    This issue is being reviewed by the kind folks in Slack, #needs-review-queue-initiative. We are working to keep the size of Needs Review queue [2700+ issues] to around 400 (1 month or less), following Review a patch or merge request → as a guide.

    Can you add the use case for this into the issue summary please?
    Tagging for tests cases also

Production build 0.69.0 2024