trim html support

This is needed in order to not broke html description on dataset page.