investigating Allowed html tags fail validation

SteveX
SteveX
@ultrajam
10 years ago
2,584 posts
https://www.jamroom.net/the-jamroom-network/forum/using-jamroom/30834/textarea-ul-list-on-multiple-lines-fails-allowed_html-validation
And maybe following on from this thread:
https://www.jamroom.net/the-jamroom-network/forum/using-jamroom/32890/allowed-html-tags-fail-validation-on-shared-profile

The problem I was seeing wasn't to do with a shared profile, but I have found the same thing happening here on jamroom.net, you can reproduce it like this:

Update a forum post, add this html to the textarea:
<ul><li>asdfa</li></ul>
It validates :)

Update the forum post again with a line break in the html like this:
<ul>
<li>asdfa</li></ul>
It doesn't validate :(

Update the forum post again with the line break in after the list item like this:
<ul><li>asdfa</li>
</ul>
It validates :)






--
¯\_(ツ)_/¯ 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: 02/24/16 11:56:01PM
brian
@brian
10 years ago
10,149 posts
Are you entering the HTML in a code block or are you just entering that HTML?

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
SteveX
SteveX
@ultrajam
10 years ago
2,584 posts
list item 1
list item 2



--
¯\_(ツ)_/¯ 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: 11/01/15 03:09:14PM
SteveX
SteveX
@ultrajam
10 years ago
2,584 posts
Thanks Brian, just entering the html.

It doesnt save the list on create, only on update.


--
¯\_(ツ)_/¯ 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 :)
brian
@brian
10 years ago
10,149 posts
SteveX:
Thanks Brian, just entering the html.

It doesnt save the list on create, only on update.

OK - I will check it out and see why it's behaving differently.

Thanks!


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

Tags