Bug 39975 - OpacMoreSearches HTML customization is mangled by TinyMCE
Summary: OpacMoreSearches HTML customization is mangled by TinyMCE
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Tools (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 24220
Blocks:
  Show dependency treegraph
 
Reported: 2025-05-23 00:22 UTC by David Cook
Modified: 2025-05-23 00:22 UTC (History)
0 users

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Cook 2025-05-23 00:22:03 UTC
OpacMoreSearches is supposed to be one or more <li> elements. 

However, when you save it in HTML customizations, it'll add a <ul></ul> tags around the <li> elements you define.

This causes a poor display due to padding added by user agent stylesheets to <ul> elements.

With this particular HTML customization, I think we'd want to prevent TinyMCE from doing a HTML cleanup. However, there are probably other HTML customizations where we want to keep that cleanup.