Board Thread:General Coding Help/@comment-1435793-20170829032856/@comment-27958705-20170829163134

div inside p is invalid. it is not about content, it is about html tags. u can put span and p inside div, but u can't put div inside p or span.

if script requires malformed html, then... well. it has to be fixed.