WEB-9248 Emmet fails when having HTML entities
(cherry-picked from 95693da)
[r=vokin]