[sword-devel] Tags showing up even though FMT_PLAIN specified.

David "Judah's Shadow" Blue yudahsshadow at gmx.com
Wed Jun 12 17:34:48 EDT 2019


I'm working on my console based front end, BIBISH. I've got it just about
ready for the second release (0.1.0) which is where it's actually useful for
reading and searching. However, I'm now getting tags showing in my text. In
the KJVA, for instance, I get for the output of john 1.1,

John 1:1 <w savlm="strong:G1722" src="1">In</w> <w savlm="strong:G746"
src="2">the beginning</w> <w savlm="strong:G2258" src="3">was</w> <w
savlm="strong:G3588 strong:G3056" src="4 5">the Word</w>, <w
savlm="strong:G2532" src="6">and</w> <w savlm="strong:G3588 strong:G3056"
src="7 8">the Word</w> <w savlm="strong:G2258" src="9">was</w> <w
savlm="strong:G4314" src="10">with</w> <w savlm="strong:G3588 strong:G2316"
src="11 12">God</w>, <w savlm="strong:G2532" src="13">and</w> <w
savlm="strong:G3588 strong:G3056" src="16 17">the Word</w> <w
savlm="strong:G2258" src="15">was</w> <w savlm="strong:G2316"
src="14">God</w>.<milestone resp="ng 2002-12-22-19:01" type="x-strongsMarkup"/
>

I declared my SWMgr

    this->swordLibrary = new sword::SWMgr(new sword::MarkupFilterMgr
                                          (sword::FMT_PLAIN));

I'm not certain what I've done wrong to cause the display to change from just
the text to showing the tags. The only change I made to the way I interface by
with the sword is that my setSwordLibrary function takes the reference the the
pointer and assigns it to a SWMgr variable.





More information about the sword-devel mailing list