Skip to content

Conversation

@hudajkhan
Copy link
Contributor

@hudajkhan hudajkhan commented Sep 19, 2025

Closes #6153 .

What this PR does:
Unescapes ASCII characters like $#13; (which is carriage return).
The mods display gem has additional handling around dealing with HTML encoding, and the unescape method is called before the text is passed on to the Mods Display component(see https://github.com/sul-dlss/mods_display/blob/main/app/helpers/mods_display/record_helper.rb#L103 ).

Note: These changes affect only abstract. Question: Do we want to address other content as well on the page or is this change sufficient?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

line break and whitespace character encoding visible in Abstracts

2 participants