replace custom tags with divs (needed for IE8)