Bug 23174 - Default (OPAC)ISBD contains <br> tags that print in ISBD download
Summary: Default (OPAC)ISBD contains <br> tags that print in ISBD download
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: MARC Bibliographic data support (show other bugs)
Version: master
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 13695
Blocks:
  Show dependency treegraph
 
Reported: 2019-06-21 08:40 UTC by Katrin Fischer
Modified: 2020-03-31 22:07 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Katrin Fischer 2019-06-21 08:40:49 UTC
The ISBD systempreferences are used to configure the ISBD views in OPAC and staff and also the ISBD download format.

The default ISBD system preferences contain <br> tag for nicer display in the OPAC. these won't translate to newlines in the download and <br> will be printed.
Comment 1 Jonathan Druart 2019-06-29 16:06:05 UTC
Caused by:
  commit 792b0f764e1f0641b33ff3dbbe6f99e91109af9e
  Bug 13695: Add ISBD export option to OPAC (detail)
Comment 2 Tomás Cohen Arazi 2020-03-27 18:30:04 UTC
(In reply to Jonathan Druart from comment #1)
> Caused by:
>   commit 792b0f764e1f0641b33ff3dbbe6f99e91109af9e
>   Bug 13695: Add ISBD export option to OPAC (detail)

Well, 'caused' is relative, that bug allowed to download what we put there for ISBD output, not the <br/>.

I suggest we use some 'verbatim' rendering in the opac-ISBD output, that keeps the newlines, so there's no need to put a <br/> at all.
Comment 3 Katrin Fischer 2020-03-31 22:07:09 UTC
The <br> come from the default data - a lot of people don't even know they can change that :)