adding zencoding and removing html autoclose