investigating textarea ul list on multiple lines fails allowed_html validation

SteveX
SteveX
@ultrajam
10 years ago
2,584 posts
I have a textarea field using "allowed_html" for validation.

When I save it with a unordered list written over several lines it fails the validation, but if the list is written all on one line it passes.

This unexpectedly fails:
CANT POST THIS CODE HERE - FAILS VALIDATION FOR THE FORUM
(Its just a ul with each li on a separate line)

This passes as expected:
<ul><li>111</li><li>222</li><li>222</li><li>444</li></ul>



--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)

updated by @ultrajam: 07/30/15 08:04:56PM
brian
@brian
10 years ago
10,149 posts
I will check this out - since validation is handled by HTML Purifier this may be a bug in their code, but I will see.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags