View Single Post
Old 05-04-2017, 08:03 AM   #8
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,736
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by jpomart View Post
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.
Doitsu is offline   Reply With Quote