Page 1 of 1

RVHtmlImport Bullet list problem

Posted: Tue Apr 12, 2022 11:33 pm
by jgkoehn
Greetings,
I import a lot of html, xhtml etc.
However, I am having this problem.
1. Import the xhtml file - bullets look fine.
bullet1.JPG
bullet1.JPG (38.92 KiB) Viewed 3333 times
2. Save to RVF
3. Reload RVF bullets have an extra line now??
bullet2.JPG
bullet2.JPG (37.24 KiB) Viewed 3333 times
I can email you the xhtml file. Here is an idea of the xhtml code (I am wondering if the code is a bit odd??): OR is it a problem in saving the RVF/RTF if you save to DOCX it seems fine.
bullet3.JPG
bullet3.JPG (215.84 KiB) Viewed 3333 times

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html>
<html xmlns:epub="http://www.idpf.org/2007/ops" xmlns="http://www.w3.org/1999/xhtml" xmlns:schema="http://schema.org/" xmlns:php="http://php.net/xsl" lang="fr" xml:lang="fr"><head><meta charset="utf-8"/><title>SUBJECT INDEX</title><link rel="stylesheet" href="styles-lg.css" type="text/css"/></head><body lang="fr" xml:lang="fr" epub:type="backmatter"><section class="div_autre" epub:type="appendix"><div class="appen" id="appen-006"><span epub:type="pagebreak" id="page_360" title="360"/><h1 epub:type="title" class="appen_tit"><span>SUBJECT INDEX</span></h1><div class="dev"><p class="txt_courant_centre"><i>(Page numbers refer to print version.)</i></p><p class="bl"> </p><p class="txt_courant_justif retrait_ligne2etsuivantes">apologetics, <a href="chap1.xhtml#page_4" class="lien_indexer">4</a>-<a href="chap1.xhtml#page_5" class="lien_indexer_groupe">5</a>, <a href="chap1.xhtml#page_24" class="lien_indexer">24</a>, <a href="chap4.xhtml#page_84" class="lien_indexer">84</a>, <a href="chap5.xhtml#page_104" class="lien_indexer">104</a>, <a href="chap11.xhtml#page_215" class="lien_indexer">215</a></p><p class="txt_courant_justif retrait_ligne2etsuivantes">Apostolic Fathers, <a href="chap12.xhtml#page_233" class="lien_indexer">233</a></p><p class="txt_courant_justif retrait_ligne2etsuivantes">Augustine, <a href="chap12.xhtml#page_244" class="lien_indexer">244</a>, <a href="chap12.xhtml#page_247" class="lien_indexer">247</a>, <a href="chap13.xhtml#page_255" class="lien_indexer">255</a>, <a href="chap13.xhtml#page_277" class="lien_indexer">277</a></p><p class="txt_courant_justif retrait_ligne2etsuivantes">autograph, <a href="chap2.xhtml#page_26" class="lien_indexer">26</a>-<a href="chap2.xhtml#page_29" class="lien_indexer_groupe">29</a>, <a href="chap2.xhtml#page_31" class="lien_indexer">31</a>, <a href="chap2.xhtml#page_33" class="lien_indexer">33</a>, <a href="chap2.xhtml#page_47" class="lien_indexer">47</a></p><ul class="liste_none"><li><p class="liste_txt_courant_gauche">definition, <a href="chap2.xhtml#page_36" class="lien_indexer">36</a>-<a href="chap2.xhtml#page_39" class="lien_indexer_groupe">39</a></p></li><li><p class="liste_txt_courant_gauche">longevity, <a href="chap2.xhtml#page_42" class="lien_indexer">42</a>-<a href="chap2.xhtml#page_46" class="lien_indexer_groupe">46</a></p></li><li><p class="liste_txt_courant_gauche"><i>See also</i> inspiration; original text</p></li></ul><p class="txt_courant_justif retrait_ligne2etsuivantes">block mixture, <a href="chap6.xhtml#page_119" class="lien_indexer">119</a>, <a href="chap6.xhtml#page_129" class="lien_indexer">129</a></p><p class="txt_courant_justif retrait_ligne2etsuivantes">Bodmer papyri, <a href="chap3.xhtml#page_59" class="lien_indexer">59</a>, <a href="chap4.xhtml#page_72" class="lien_indexer">72</a>, <a href="chap7.xhtml#page_148" class="lien_indexer">148</a>, <a href="chap8.xhtml#page_154" class="lien_indexer">154</a>-<a href="chap8.xhtml#page_155" class="lien_indexer_groupe">155</a>, <a href="chap11.xhtml#page_222" class="lien_indexer">222</a>, <a href="chap13.xhtml#page_268" class="lien_indexer">268</a>-<a href="chap13.xhtml#page_269" class="lien_indexer_groupe">269</a></p><p class="txt_courant_justif retrait_ligne2etsuivantes">book trade, <a href="chap2.xhtml#page_29" class="lien_indexer">29</a>-<a href="chap2.xhtml#page_35" class="lien_indexer_groupe">35</a>, <a href="chap2.xhtml#page_40" class="lien_indexer">40</a>, <a href="chap7.xhtml#page_138" class="lien_indexer">138</a></p><p class="txt_courant_justif retrait_ligne2etsuivantes">bookroll, <a href="chap2.xhtml#page_28" class="lien_indexer">28</a></p><ul class="liste_none"><li><p class="liste_txt_courant_gauche">lifespan, <a href="chap2.xhtml#page_42" class="lien_indexer">42</a>-<a href="chap2.xhtml#page_44" class="lien_indexer_groupe">44</a>, <a href="chap2.xhtml#page_45" class="lien_indexer">45</a></p></li><li><p class="liste_txt_courant_gauche">usability, <a href="chap13.xhtml#page_270" class="lien_indexer">270</a></p></li><li><p class="liste_txt_courant_gauche">use among Christians, <a href="chap7.xhtml#page_135" class="lien_indexer">135</a>, <a href="chap13.xhtml#page_253" class="lien_indexer">253</a>, <a href="chap13.xhtml#page_261" class="lien_indexer">261</a>-<a href="chap13.xhtml#page_262" class="lien_indexer_groupe">262</a>, <a href="chap13.xhtml#page_274" class="lien_indexer">274</a></p></li></ul><p class="txt_courant_justif retrait_ligne2etsuivantes">Byzantine text, <a href="chap3.xhtml#page_61" class="lien_indexer">61</a>, <a href="chap6.xhtml#page_113" class="lien_indexer">113</a>-<a href="chap6.xhtml#page_114" class="lien_indexer_groupe">114</a>, <a href="chap6.xhtml#page_116" class="lien_indexer">116</a>, <a href="chap6.xhtml#page_118" class="lien_indexer">118</a>, <a href="chap8.xhtml#page_158" class="lien_indexer">158</a>, <a href="chap10.xhtml#page_196" class="lien_indexer">196</a>, <a href="chap14.xhtml#page_283" class="lien_indexer">283</a>, <a href="chap14.xhtml#page_295" class="lien_indexer">295</a></p><p class="txt_courant_justif retrait_ligne2etsuivantes">canon</p><ul class="liste_none"><li><p class="liste_txt_courant_gauche">as closed, <a href="chap12.xhtml#page_238" class="lien_indexer">238</a>-<a href="chap12.xhtml#page_239" class="lien_indexer_groupe">239</a>, <a href="chap12.xhtml#page_244" class="lien_indexer">244</a></p></li><li><p class="liste_txt_courant_gauche">lists, <a href="chap13.xhtml#page_253" class="lien_indexer">253</a>-<a href="chap13.xhtml#page_260" class="lien_indexer_groupe">260</a>, <a href="chap13.xhtml#page_272" class="lien_indexer">272</a>-<a href="chap13.xhtml#page_275" class="lien_indexer_groupe">275</a>, <a href="chap13.xhtml#page_276" class="lien_indexer">276</a>, <a href="chap13.xhtml#page_277" class="lien_indexer">277</a></p></li></ul>

Re: RVHtmlImport Bullet list problem

Posted: Wed Apr 13, 2022 8:07 am
by Sergey Tkachenko
As I can see, the problem occurs already when loading via TrvHtmlImporter.
It does not process <li><p>...</p></li> correctly: <p> starts a new paragraph.
I'll fix it in the next update.