fix parsing css embedded in html (fixes issue 2431)
update translations