java-html-sanitizer icon indicating copy to clipboard operation
java-html-sanitizer copied to clipboard

Allow colspan attribute on td and th elements in TABLES PolicyFactory

Open krische opened this issue 5 years ago • 2 comments

It looks like the TABLES PolicyFactory in Sanitizers class does not allow the colspan attribute on td and th elements.

I see no reason why it couldn't.

krische avatar Apr 08 '20 20:04 krische

I agree colspan should safe...

-- Jim Manico @Manicode

On Apr 8, 2020, at 4:58 PM, Brian Krische [email protected] wrote:

 It looks like the TABLES PolicyFactory in Sanitizers class does not allow the colspan attribute on td and th elements.

I see no reason why it couldn't.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

jmanico avatar Apr 08 '20 21:04 jmanico

Maybe should allow rowspan as well

xiang-tianyu avatar Sep 08 '20 23:09 xiang-tianyu