Quote:
Originally Posted by jpomart
I try to convert a .xhtml file to .ePub, but the result is not satisfaying : most part of the book content is blank.
|
The HTML file contains several sections with garbage HTML attributes. For example:
Code:
<div class="descripteurs">
<span class="terme" id="d0e2934"> <a href="#histoire">#histoire</a></span>
<span class="terme" id="d0e2936"> <a href="#linguistique">#linguistique</a></span>
<span class="terme" id="d0e2938"> <a href="#Table ronde " langage="" et="" société"="" (paris,="" École="" normale="" supérieure,="" 28-30="" avril="" 1983)"="">#Table ronde "Langage et société" (Paris, École Normale Supérieure, 28-30 avril 1983)</a></span>
<span class="terme" id="d0e2932"> <a href="#tiré à part">#tiré à part</a</span>
</div>
Open the HTML file in a text editor, e.g.
Notepad++, search for all occurrences of
"" and delete all garbage attributes.