Replace token with placeholder fails when image only has data-fid attribute

Created on 11 February 2015, about 10 years ago
Updated 24 March 2023, about 2 years ago

Upgrading from media-2.0-alpha4 to media-2.x-dev resulted in all images are replaced with false after saving or switching to plain text mode.
These images only have a data-fid attribute and not using the new placeholder format.

See attached patch for the fix.

🐛 Bug report
Status

Closed: outdated

Version

2.0

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.

No activities found.

Production build 0.71.5 2024