This is a very simple filter that adds surrounding tags around floated img, figure, or table tags.

The filter scans for inline CSS styles and if a float:left or float:right is found (usually added by WYSIWYG editors), a configurable tag (span or div) is added around the original tag with a class of "floatleft" or "floatright".

Project Information