replace tag empty body with empty end