[Bug 41529] New: HTML code visible in the table listing saved reports
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41529 Bug ID: 41529 Summary: HTML code visible in the table listing saved reports Initiative type: --- Sponsorship --- status: Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Reports Assignee: koha-bugs@lists.koha-community.org Reporter: raymund.delahunty@outlook.com QA Contact: testopia@bugs.koha-community.org CC: lisette@bywatersolutions.com Created attachment 190917 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=190917&action=edit With and without JQuery, in 25.11
From 25.11 Bug 23978 allows for HTML to be added to the Notes field in reports but the HTML tags appear in the reports list view, making identification of the desired report (and understanding what the report identifies) harder. This was not the case in 24:11 (for example) where using the code listed in the JQuery Library (‘Render patron messages as HTML and in Report notes’) saw the Notes
column rendered with the HTML applied, not with HTML code showing. Adding this code to IntranetUserJS in 25.11 sees the Notes field in the list view rendered correctly without the HTML code visible.
-- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41529 Ray Delahunty <raymund.delahunty@outlook.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=23978 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41529 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au --- Comment #1 from David Cook <dcook@prosentient.com.au> --- Not 100% sure what you're saying here, but it looks like the datatable in reports list view has escaped the notes for years: [% savedreport.notes | html %] Overall, it's not great putting HTML into DataTables. Although in this case, I suppose the "note" HTML scrubber would probably prevent problems. I've had other local cases where allowing HTML into the DataTable has managed to break the datatable. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41529 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #2 from David Cook <dcook@prosentient.com.au> --- Pretty sure this is a duplicate of bug 23978 *** This bug has been marked as a duplicate of bug 23978 *** -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org