adyeths / u2o

USFM to OSIS bible format converter.
The Unlicense
19 stars 6 forks source link

Missing closing tag for the last verse of each chapter #109

Closed LAfricain closed 4 years ago

LAfricain commented 4 years ago

Probably due to the last commits, now the last verse of all chapter have a missing closing tag. That means the last verse of each chapter is not displayed in the frontend:

<verse sID="Mark.1.45" osisID="Mark.1.45" n="45" />Mais cet <w lemma="strong:G444">homme</w> étant parti, se mit à raconter <w lemma="strong:G2532">et</w> à publier partout ce qui s’<w lemma="strong:G2258">était</w> passé : de sorte que <w lemma="strong:G2424">Jésus</w> ne pouvait plus <w lemma="strong:G1531">entrer</w> publiquement <w lemma="strong:G1722">dans</w> une <w lemma="strong:G4172">ville</w> ; il se tenait dehors, <w lemma="strong:G1722">dans</w> des lieux solitaires, <w lemma="strong:G2532">et</w> l’on venait à <w lemma="strong:G846">lui</w> de <w lemma="strong:G3956">tous</w> côtés.
<chapter eID="Mark.1" />
</p>
<chapter sID="Mark.2" osisID="Mark.2" n="2" />
<!-- s --><title type="x-s">LES OPPOSANTS</title>
<!-- s2 --><title type="x-s2">le <w lemma="strong:G3885">paralytique</w> de Capharnaüm</title>
<!-- r --><title type="parallel"><reference type="parallel" osisRef="Matt.9.1-Matt.9.8 Luke.5.17-Luke.5.26 John.5.1-John.5.9">Mt 9,1-8; Lc 5,17-26; Jn 5,1-9 </reference></title>
<p>
<verse sID="Mark.2.1" osisID="Mark.2.1" n="1" />
adyeths commented 4 years ago

Strange problem. I will have to investigate this further. Nothing I changed the last few days would do this.

adyeths commented 4 years ago

At least part of the problem you're experiencing may be due to bugs in the usfm markup in the file you sent me.

\v 35 Le lendemain, s’étant levé \w longtemps|strong="G5550"w*\w* ...

The extra w* in that fragment will cause problems.

LAfricain commented 4 years ago

Good shot for the extra w*. I did the correction. But the problem still remains. And the file is validated.

adyeths commented 4 years ago

This should be fixed now.

LAfricain commented 4 years ago

It works well! Thank you very much!