Tables not output correctly for TB2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Triaged
|
Undecided
|
John Schember |
Bug Description
HTML tables are not output correctly when converting to FB2.
The following HTML:
<p><sup>9</sup>Вот их опись:<br /></p>
<table>
<tr><td>золотых блюд</td>
<tr><td>серебряных блюд</td><td>1 000</td></tr>
<tr><td>
<tr><td>
<sup>10<
<tr><td>одинаковых серебряных чаш</td>
<tr><td>других предметов</td><td>1 000</td></tr>
</table>
<br />
produces the following output in the FB2 file:
<p><sup>9</sup>Вот их опись:<
<p>30</p>
<p>серебряных блюд</p>
<p>1 000</p>
<p>ножей</p>
<p>29</p>
<p><sup>
<p>золотых чаш</p>
<p>30</p>
<p>одинаковых серебряных чаш</p>
<p>410</p>
<p>других предметов</p>
<p>1 000</p><empty-line />
Each cell of the table has become a paragraph.
In fact FB2 supports tables using <table>, <tr> and <td> tags, much like HTML. These tags should have appeared in the FB2 output rather than just <p> tags.
This problem was found in Calibre 2.45, running under Ubuntu 12.04.
Since the input was a proprietry format using a specially developed input conversion plugin, providing the input and output files would not be of use to you. The ebook-convert command line specified --debug-pipeline and the section of HTML quoted above is from one of the files in the input directory as written out during conversion.
information type: | Public → Private Security |
information type: | Private Security → Public |
Changing the component for this bug.
assignee user-none
tag fb2-output
status triaged