Test input filtering to be idempotent

Created on 10 July 2023, about 1 year ago
Updated 13 July 2023, about 1 year ago

Problem/Motivation

Drupal text input filters should be idempotent, so that desipte how often the text is processed, always returns the same result. That is important, because with modules like token_filter and custom_tokens it may happen, that a token text is already processed and then it's again processed in the context, where it's used.

Currently, reusing the same filter seems to have different results on PHP side. That should not happen.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

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

Production build 0.71.5 2024