dspace-angular icon indicating copy to clipboard operation
dspace-angular copied to clipboard

Display line breaks in metadata

Open alawvt opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe. In DSpace 7, please display hard-coded line breaks in metadata. This will improve the readability of multi-paragraph abstracts and descriptions and render them as intended.

Describe the solution you'd like A clear and concise description of what you want to happen. In DSpace 6 XMLUI, line breaks in metadata are preserved but do to display on the front end. DSpace6_XMLUI_linebreaks_show_back In DSpace 7, line breaks in metadata are not preserved, See #1762.

Please make line breaks appear like this. DSpace6_XMLUI_linebreaks_show_front

Describe alternatives or workarounds you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

alawvt avatar Aug 11 '22 20:08 alawvt

semi-related to #1495 (but not the same issue). #1495 includes discussion of which HTML tags should be allowed to display in metadata fields. This ticket might be thought of as the <p> HTML tag, or it could just be implemented as preserving whitespace.

tdonohue avatar Aug 17 '22 14:08 tdonohue

Added a zero hour estimate as this will be include in fix for #1762

tdonohue avatar Aug 18 '22 13:08 tdonohue