Fix wrong rendered markup