Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We are unnecessarily escaping the value in template_preprocess_textarea()
as Twig auto-escape will do this for us.
Calling SafeMarkup::checkPlain() unnecessarily pollutes the safe string list, therefore a bug.
Beta phase evaluation
Issue category | Bug, because it is an unnecessary call to ::checkPlain |
---|---|
Issue priority | Normal, because it is just one call. |
Comment | File | Size | Author |
---|---|---|---|
#2 | 2545988.2.patch | 722 bytes | alexpott |
Comments
Comment #2
alexpottComment #3
dawehnerSo this value is passed onto the template at which point we have escaping.
Comment #4
catchCommitted/pushed to 8.0.x, thanks!