Replace deprecated SafeMarkup::checkPlain() with \Drupal\Component\Utility\HTML::escape()

Created on 11 August 2021, over 3 years ago
Updated 5 September 2024, 3 months ago

Problem/Motivation

The new version of the module still has a deprecated method. SafeMarkup::checkPlain()

Proposed resolution

Replace with \Drupal\Component\Utility\HTML::escape()

🐛 Bug report
Status

RTBC

Version

1.1

Component

Code

Created by

Live updates comments and jobs are added and updated live.
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.

  • 🇨🇦Canada nubeli

    I've reviewed and tested the patch in #9. It works -- HTML looks fine -- and code appears good. Simple change (plus a few cosmetic fixes).

  • 🇮🇹Italy francoud

    I upgraded the module to version 8.x-1.2, and I had to apply again the patch.
    Shouldn't this patch be committed in the official version?

  • 🇺🇸United States wstocker

    Second the comment in #11

    I have a fresh install of D10 and I had to apply this patch when using combinations of configuration or the whole page would crash.
    Seems like it's needed.

Production build 0.71.5 2024