Closed (fixed)
Project:
SafeDelete
Version:
1.0.78
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Jan 2026 at 22:50 UTC
Updated:
2 Feb 2026 at 22:54 UTC
Jump to comment: Most recent
Fix bug relating to the HTMLPurifier behavior, throws a warning due to an improper config. Need to explicitly allow img.src
User warning: Required attribute 'src' in element 'img' was not allowed, which means 'img' will not be allowed either in HTMLPurifier_HTMLDefinition->setupConfigStuff() (line 347 of d11/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLDefinition.php).
publish content with validation enabled
See patch, upgrade from safedelete 1.0.78 or lower to safedelete 1.0.79 or higher.
Commit solution and tag a new release.
No more annoying warning message.
Set configuration as expected
N/A
Comments
Comment #3
joseph.olstad