[sword-devel] SWORD handling of OSIS paragraphs

Ben Morgan benpmorgan at gmail.com
Sat Jun 6 23:10:20 MST 2009

On 07/06/2009, Chris Little <chrislit at crosswire.org> wrote:
> The *htmlhref filters are the GnomeSword filters. They may now be used by
> other front ends, and the GnomeSword/Xiphos team may have abandoned their
> maintenance, but they were originally written by Terry and do some
> non-standard stuff (as opposed to the *html filters, which should just
> output valid html fragments). They were included in Sword long ago at his
> request.

The *html filters haven't been maintained for a long time (as far as I can
tell) and probably need removing - the htmlhref ones do a more reasonable
job of html rendering.

So, while others may happen to know the purpose of all of these <!P>s, it's
> also possible that the only ways of determining their purpose and the
> answers to your questions would be to ask Terry or dig through the code of
> Xiphos (or possibly an old version of GnomeSword).

BPBible just changes these into </p><p> (I think). My guess was these
were to mark a new paragraph and possibly end an old one.
I don't think <!P><br /> should ever be output, or <!/P>.
Possibly <p> or </p><p> is best? I don't think <br /> is good.

Another problem I have noticed with paragraphs is in some cases, the
paragraphs output try to include a heading (whereas I don't believe
paragraphs should include headings in HTML...)

God Bless,
Multitudes, multitudes,
    in the valley of decision!
For the day of the LORD is near
    in the valley of decision.

Giôên 3:14 (ESV)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20090607/7c4f10f0/attachment.html>

More information about the sword-devel mailing list