[sword-devel] filter <!P> patch
niccarter at mac.com
Tue Jan 1 18:11:35 MST 2013
A search of the PS source code for "¶" reveals no hits. Search of the current libsword that PS uses also reveals no hits. I believe PS only shows pilcrows for those modules that have them inside, such as KJV.
FYI, there is a fun comment in our display code that says:
// paragraphing can be annoying, as different module creators can do things differently!
And it sums up my thoughts with paragraphs in the filter code & individual modules... ;)
I'm about to do a new release of PS that tries to clean up the rather messy paragraphing in some certain modules (such as the ESV!)... [It's just been submitted & so hopefully will be live within a week?]
For example, it is not uncommon to find the following 3 situations in the produced HTML that the filters give me:
"<br /> <!P><br /><br />"
"<br /><!P><br /><br />"
"<br /> <!P><br /><!P><br />"
On 15/12/2012, at 12:34 AM, Karl Kleinpaste <karl at kleinpaste.org> wrote:
> I think it's pretty clear that all of this sort of processing belongs in
> the filter, not in the apps at all, and that if pilcrows (¶) are
> desired, they too should be part of the filter-provided stream.
> Do other apps generate pilcrows, or is this a GnomeSword/Xiphos-specific
> sword-devel mailing list: sword-devel at crosswire.org
> Instructions to unsubscribe/change your settings at above page
More information about the sword-devel