[sword-devel] WHNU bug: wrong tags structure

sword-devel@crosswire.org sword-devel@crosswire.org
Tue, 03 Dec 2002 15:52:42 +0500


WHNU module (which is in ThML) in some verses has wrong structure of <div 
class="variant" ...> tags (one <div> tag inside other <div> tag), e.g. verse 
Mt 10:23. Not sure how it may influence markup by GUI frontends.

I suppose this happens when in the www.byztxt.com source there are more that 
one pair of variants in one verse.

If WHNU module was produced with Perl's regular expressions (these are also 
similar in Python), then I recommend to the module maintainer to take a look 
to "perlre" manpage about greedy vs non-greedy matching (he needs non-greedy 
one).
-- 
Victor Porton (porton@ex-code.com)