Bug 33593

Summary: CatalogConcernTemplate needs to be HTML
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: NoticesAssignee: Bugs List <koha-bugs>
Status: In Discussion --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: david, martin.renvoize
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: 31028    
Bug Blocks:    

Description Katrin Fischer 2023-04-23 11:56:31 UTC
Currently the CatalogConcernTemplate is added to the HTML customizations as plain text. This results in all line breaks being lost and the text getting hard to read. I believe we need to switch this to HTML:

        - title: "Catalog concern template text"
          category: "html_customizations"
          location: "CatalogConcernTemplate"
          code: "CatalogConcernTemplate_1"
          content:
            - "**Describe the concern**"
            - "A clear and concise description of what the concern is."
            - ""
            - "**To Reproduce**"
            - "Steps to reproduce the behavior:"
            - "1. Go to '...'"
            - "2. Click on '....'"
            - "3. Scroll down to '....'"
            - "4. See error"
            - ""
            - "**Expected behavior**"
            - "A clear and concise description of what you expected to happen."
          lang: "default"
          published_on: "2007-10-29 05:25:58"
          expirationdate: "2099-01-10"
          number: 1

We should update the sample notices, but also the database update before 23.05 release.
Comment 1 Martin Renvoize 2023-12-21 11:36:44 UTC
Whilst this is true for the preview.. it's not true for the actual input box that the template is used within.