HTMLPurifier Breaking Images

Mabmerlybrila

New Member
I'm trying to run HTMLPurifier on user input from a WYSIWYG (CK Editor) and the images are breaking.Unfiltered Input:\[code\]<img alt="laugh" src="http://stackoverflow.com/lib/ckeditor/plugins/smiley/images/teeth_smile.gif" title="laugh">\[/code\]After running through purifier with default settings:\[code\]<img alt=""laugh"" src="http://stackoverflow.com/questions/3895826/%5C" title=""laugh"">\[/code\]I have tried changing the configuration settings; but I the src is never preserved. Any thoughts?
 
Back
Top