Bug 33593 - CatalogConcernTemplate needs to be HTML
Summary: CatalogConcernTemplate needs to be HTML
Status: In Discussion
Alias: None
Product: Koha
Classification: Unclassified
Component: Notices (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 31028
Blocks:
  Show dependency treegraph
 
Reported: 2023-04-23 11:56 UTC by Katrin Fischer
Modified: 2023-12-21 11:36 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 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.