Replace use of check_plain() with HTML::escape()

Created on 23 October 2015, over 9 years ago
Updated 14 November 2015, over 9 years ago

Problem

check_plain() has been replaced with HTML::escape()

See change record: FormattableMarkup and HTML utility components replace check_plain(), format_string(), drupal_placeholder() (and SafeMarkup)

Tasks

  • make the change
  • credit hendrik.fuss

Original Report (by hendrik.fuss)

Field formatter class does not work with the current release candidate 8.0.0-rc2. The module produces fatal php error messages and is thus unusable.

I am providing a patch here that seems to fix the issue.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇩🇪Germany hendrik.fuss

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.

Production build 0.71.5 2024