#15913HTML cleaner corrupts Java Script code
Description
A Java Script expression like
for(var i=0;i<allItems.length;i++){
…
}
may be “cleaned” by method t3lib_parsehtml->HTMLcleaner() [Line 617].
This happens due to insufficient detection of tags. Solved this by changing lines 627 to 632. Fixed version of file attached.
(issue imported from #M3013)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.