[Koha-bugs] [Bug 35285] New: Centralise notice content wrapping for html output

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 8 10:44:01 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35285

            Bug ID: 35285
           Summary: Centralise notice content wrapping for html output
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Notices
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: martin.renvoize at ptfs-europe.com
        QA Contact: testopia at bugs.koha-community.org
        Depends on: 30287

Whilst working through some notice bugs I noted that we now have a few
different places where we wrap the content for output in various instants.

I think we could centralise on the html_content method I introduce in bug 30287
and add support for the 'pre' (or perhaps replace pre with <div
style="white-space: pre-wrap;"> as suggested in
https://stackoverflow.com/questions/248011/how-do-i-wrap-text-in-a-pre-tag) for
non html encoded templates.

Thoughts?


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30287
[Bug 30287] Notices using HTML renders differently in notices.pl
-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list