Bug 23174

Summary: Default (OPAC)ISBD contains <br> tags that print in ISBD download
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: MARC Bibliographic data supportAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: jonathan.druart, tomascohen
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 13695    
Bug Blocks:    

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 :)