I think the problem comes from around here, as in the example the new line is the last element of the table cell, but the next event will be endFormat so eventType.isInlineEnd() will not be true and therefore it will not be outputted as a line break.