Issue was that hook went over breakTokens that also happened to be <table> tags, and did not check whether this breakToken was due to table actually splitting or due to <table> having break-before: page; property.
I my testing, adding a check for data-split-from attribute is enough.
This PR fixes #265.
Issue was that hook went over breakTokens that also happened to be
<table>
tags, and did not check whether this breakToken was due to table actually splitting or due to<table>
havingbreak-before: page;
property.I my testing, adding a check for
data-split-from
attribute is enough.