Will also add a closing </div> to tables that were not targeted by <table>. As a result, closing </div>s might be injected where they shouldn't.
Possible solution is to target <table rather than <table so all tables are affected the same way. Users won't have a way to disable it then. That's not necessarily bad, but the option should still exist to add extra classes.
This line:
https://github.com/peterdesmet/petridish/blob/8b207628086a880271b0d53e5999747079f460f9/_layouts/base.html#L14
Will also add a closing
</div>
to tables that were not targeted by<table>
. As a result, closing</div>
s might be injected where they shouldn't.Possible solution is to target
<table
rather than<table
so all tables are affected the same way. Users won't have a way to disable it then. That's not necessarily bad, but the option should still exist to add extra classes.