You’ll need to find out which tags and attributes are required by the image upload plugin and add them to the whitelist (i.e. the $allowedtags array in @danbp’s function above). Right now, it seems only the img tag and target attribute are allowed.
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Remove HTML tags excluding image tag from activity stream’ is closed to new replies.