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

--- Comment #4 from David Cook <[email protected]> ---
Test plan: 
0. Do not apply the patch yet

1. Log into Koha, click on "Tools", click on "Record display customizations"
2. Click "New entry"
3. Add a "Publication date" in the past, "Appear in position": 1, and a "Title"
of "test"
4. In "Content:" add the following:
<p><strong>This is bold</strong></p>
<p><em>This is italic</em></p>
<div>
<p>This is another paragraph with a div</p>
</div>

5. Search the catalogue for "test" (or whatever you like)
6. Click on the title of the first result
7. Note under "OPAC view" there is all the HTML content that we added

8. Apply the patch
9. Create the /etc/koha/sites/kohadev/html_scrubber.yaml file with:
---
record_display:
   allow: ["div"]

10. restart_all
11. Refresh the page
12. Note that that all the text appears but it is no longer
styled
13. If you can view the source of the page, you'll notice
that all the HTML we added was stripped out *except* the "div"
element

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to