Fix for MDL-32257 - Multilanguage filter work for <div> as well as <span> tags

It is tested and works fine.