[sword-devel] Question regarding special markup in Psalms and SWModule::stripText

Greg Hellings greg.hellings at gmail.com
Sun Mar 17 10:38:34 MST 2019


You might need to add an instance of the GBFPlain class to the filter set
before calling for stripText. It is specifically crafted to strip the tags
you're talking about.

In general, you'll want to add a <Format>Plain object to the filter set for
any module you're processing to plain text, where <Format> can be picked up
by a query to the conf for the given module. Classes should exist for GBF,
OSIS, TEI, and ThML source formatted text.

--Greg

On Sun, Mar 17, 2019, 12:28 Tobias Klein <contact at tklein.info> wrote:

> On 17.03.19 18:05, David Haslam wrote:
> > Aside: Which front-end doesn’t render these tags ?
>
> My own frontend: Ezra Project.
>
> Where are these tags documented?
> I found this: https://ebible.org/bible/gbf.htm
> But there I didn't find any documentation for the tags I encountered.
>
> Best regards,
> Tobias
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20190317/445b54c7/attachment.html>


More information about the sword-devel mailing list