Hi, I have configured purifier to allow all table-related tags, but when I run clean() on such html, everything inside of the <table> tag is removed except the text itself. Notably, these results are inconsistent with the HTML Purifier's live demo results, using the same configuration, which is why I'm wondering if there is an issue specific to this package. Am I missing something?
Example html to clean:
<table><thead><tr><th>1</th><th>2</th><th>3</th><th>4</th></tr></thead><tbody><tr><td>5</td><td>6</td><td>7</td><td>8</td></tr></tbody></table>
Hi, I have configured purifier to allow all table-related tags, but when I run
clean()
on such html, everything inside of the<table>
tag is removed except the text itself. Notably, these results are inconsistent with the HTML Purifier's live demo results, using the same configuration, which is why I'm wondering if there is an issue specific to this package. Am I missing something?My full configuration:
Example html to clean:
<table><thead><tr><th>1</th><th>2</th><th>3</th><th>4</th></tr></thead><tbody><tr><td>5</td><td>6</td><td>7</td><td>8</td></tr></tbody></table>
Result:
<table>12345678</table>
I'm using version 3.3.6 with Laravel 6.20.36.