Fixing bugs in Emmet like syntax processing