Change html type and remove scheme metadata