crashes when combined with subsequent filters

Created on 29 May 2024, 6 months ago
Updated 31 May 2024, 6 months ago

Problem/Motivation

When I put this filter after the filter from markdown module, I get this crash:

> TypeError: preg_replace_callback(): Argument #3 ($subject) must be of type array|string, Drupal\markdown\Render\ParsedMarkdown given in preg_replace_callback() (line 114 of modules/contrib/pathologic/pathologic.module).

I don't know if the fault is in Markdown for returning something non-standard, or here for not handling a stringable.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

RTBC

Version

3.0

Component

Code

Created by

🇬🇧United Kingdom joachim

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024