Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whitespace getting stripped from ingested items #420

Open
mikesname opened this issue Jul 13, 2018 · 0 comments
Open

Whitespace getting stripped from ingested items #420

mikesname opened this issue Jul 13, 2018 · 0 comments

Comments

@mikesname
Copy link
Contributor

mikesname commented Jul 13, 2018

At some point we started normalizing text elements using StringUtils, which strips newlines and leading spaces. This can make text unreadable. Ideally we should:

  • handle EAD formatting elements by converting to HTML if possible
  • at least preserve newlines and leading spaces, which can be semantically meaningful

Figuring out how to render it meaningfully is a different problem.

Might also want to substitute Markdown-meaningful elements like asterisks for their HTML entities, e.g. *.

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

No branches or pull requests

1 participant