gnosygnu / xowa

xowa offline wiki application
Other
376 stars 40 forks source link

page runs together with no paragraphs #590

Open desb42 opened 5 years ago

desb42 commented 5 years ago

The page en.wikisource.org/wiki/Page:Gesenius'_Hebrew_Grammar_(1910_Kautzsch-Cowley_edition).djvu/87 xowa-gui paras1 the red marks show that the paragraphs are running together the wikitext for the first para looks like this

<noinclude><pagequality level="2" user="Amire80" />{{GHGcorrected}}</noinclude><section begin="par15" />adjective. For the closest connexion between two or more words {{GHGterm|Maqqēph}} is added ({{GHGpar|16|a}}). 

{{GHGmargin-letter|15|o}}
5. The consecution of the several accents (especially the correspondence of disjunctives with their proper conjunctives) conforms in the most minute details to strict rules, for a further investigation of ...

it should look more like paras2

desb42 commented 5 years ago

I have found a lot more of this in dewiki an example is de.wikipedia.org/wiki/Denis_Diderot

What I have found is that the wikitext {{IPA|dəni didʁo|lang}} seems to cause an issue If I change that wikitext to {{xxxIPA|dəni didʁo|lang}} (of course this is not valid), then the paragraphs display correctly

Not sure why this works

desb42 commented 5 years ago

On further investigation, Template:IPA contains a \ tag If I remove that tag, the pages de.wikipedia.org/wiki/Denis_Diderot, de.wikipedia.org/wiki/Victor_Hugo and de.wikipedia.org/wiki/Jean-Baptiste_le_Rond_d’Alembert display correctly (minus the styling info course)

desb42 commented 5 years ago

I have just realised this is related to #326 And the fix is the same, commenting out line 36

ctx.Para().Process_block__xnde(xnde.Tag(), Xop_xnde_tag.Block_bgn);
gnosygnu commented 4 years ago

Hey, same lament as usual: sorry for the late reply

I took a look at this and #326 and I can't reproduce on my side. I think this was resolved by #616 which occurred after these tickets (2019-11-17).

Can you try getting latest and seeing if this is still an issue? Will post same comment to #326

Thanks