stevebauman/purify

Problem table

Closed this issue · 3 comments

I have problem for purify:clean table, please help
Required attribute 'summary' in element 'table' was not allowed, which means 'table' will not be allowed either

Same problem

Niush commented

Some attributes seems to be required for table, th and td. This is the solution:
'HTML.Allowed' => 'table[summary],th[abbr],tr,tbody,td[abbr]'