Comment 2 for bug 1526370

David Booth (david-booth12) wrote :

Due to the lack of any progress on this bug in the last two months, I have had a look at the code myself. Attached is fb2ml.py with some changes I have made, for your consideration. I have tested my changes, and they seem to work fine. I have added handling for the HTML tags <table>, <tr>, <th> and <td>. Note that a table is not expected to be part of a paragraph, so I have had to make some changes to prevent <p> tags being generated when text in the table cells is encountered. I have not attempted to do anything more complicated like ensuring that a table is not within a paragraph, or that the table-related tags are correctly nested.