New feature: twig extension - html_title_raw

Created on 25 August 2020, about 4 years ago
Updated 6 September 2023, about 1 year ago

Problem/Motivation

I found, html title have more cases, but this module cannot cover all.
So I think it's good about provides a twig extension to allow module-users customization their twig to use this module feature.
such as {{ title|html_title_raw }}

Steps to reproduce

None.

Proposed resolution

None.

Remaining tasks

  1. Write tests, as per comment #3
  2. Harden for production, as per comment #5
  3. Document cases where it would be unsafe, as per #5
  4. Review and feedback
  5. RTBC and feedback
  6. Commit and release

User interface changes

None.

API changes

Adds a twig extension named html_title_raw.

Data model changes

None.

Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

🇨🇳China Oscaner

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.

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.

Production build 0.71.5 2024