Bug 39975

Summary: OpacMoreSearches HTML customization is mangled by TinyMCE
Product: Koha Reporter: David Cook <dcook>
Component: ToolsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39974
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 24220    
Bug Blocks:    

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.