MDL-32257 - modify multilang filter to allow divs as well as spans