Fixed bug 431523: [formatter] Some Off/On tags do not work like
described or work unpredictably

Removed unnecessary special casing based on tag type and added checking
for tags in starting positions that were skipped when advancing by one
whole token, that is 2 characters.

Signed-off-by: Timo Kinnunen <timo.kinnunen@gmail.com>