sul-dlss / mods_display

MODS Display is a gem to centralize the display logic of MODS medadata.
Other
2 stars 5 forks source link

Avoid double sanitize of the string #138

Closed jcoyne closed 1 year ago

jcoyne commented 1 year ago

We're using the sanitize helper function, so there's no need to roll our own too.

cbeer commented 1 year ago

My memory is sanitize strips anything tag-like at all, and we have some data with non-HTML angle brackets that we want passed through as literals. Is that no longer the case?

jcoyne commented 1 year ago

@cbeer I can't fathom why we'd want to pass through html escaped tags that happen to be in the data. I'd like to see the use case for that. Got it. data that is not html.