less flickering

when editing unclosed tag