<div dir="ltr">Further to the discussion of linked verses on the Sword list I had been hoping to do a pull request for a change to JSword that I am using in And Bible that removes duplicated verses. I raised a bug for this some time ago - JS-224.<div>
<br></div><div>Attached is the fix currently used in And Bible. I have been hoping to find time to write a junit and create a Pull request with this change for some time now but have been busy.</div><div><br></div><div>Here is the important part, the updated file is attached:<br>
</div><div><div>// If the verse is empty or repeated then we shouldn't add the verse</div><div>if ((allowEmpty || rawText.length() > 0 ) && !previousVerseText.equals(rawText)) {</div><div><span class="" style="white-space:pre">        </span>List<Content> osisContent = filter.toOSIS(AbstractPassageBook.this, verse, rawText);</div>
<div><span class="" style="white-space:pre">        </span>addOSIS(verse, partialDom, osisContent);</div><div>}</div><div>previousVerseText = rawText;</div></div><div><br></div><div>I have Turkish friends and TurNTB is full of linked verses so I had to implement some sort of fix.</div>
<div><br></div><div>Martin</div></div>