fixes encoding bug instroduced by haml 4.0.3
implements fix in all hamls