Issue Bug Closed

#36845xhtml_cleanup removes data uris from img src attribute

Thomas Deinhamer 05/04/12, 15:36 updated 03/02/15, 20:06

Description

When using something like and xhtml_cleaning is set to ‘all’ TYPO3 removes the attribute completely from the source.

One possible solution could be to edit the regular expression inside the split_tag_attributes method to ‘/(\<[^\s]+\s+)?(.*?)\s*(\>)?$/sU’ (Only adding the ‘U’ for ungreedy behaviour.)

This fixed the problem for me.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.