This module converts legacy media tags into standard Drupal markup, ensuring media content displays correctly. It handles older formatting to make it compatible with current Drupal versions.
Fixes legacy code such as:
[[{"type":"media","view_mode":"media_large","fid":"123","attributes":{"alt":"","class":"media-image","height":"187","style":"display: block; margin-left: auto; margin-right: auto;","typeof":"foaf:Image","width":"480"}}]]In this case, file ID 123 needs to exist.
Full documentation and automated test results on GitHub
Drupal 10–11
Ask your assistant about Convert Media Tags to Markup
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.