need RegExp tweak for whitespace

RefTagger is grabbing the indefinite article "a" as if it were a subverse reference. For instance, in the phrase "Is John 3:16 a clear verse?" RefTagger grabs "John 3:16 a" as if it were "John 3:16a." I'm guessing the RegExp has an optional whitespace after the verse before a single letter. If that optional whitespace were deleted from the RegExp, the error would be avoided. Alternatively, you could exclude single-letter words (like "a" and "i"), though that would admittedly get rid of the most common subverse reference ("a").
Comments
-
I'm not seeing the behaviour you describe on these forums, which are using RefTagger. Can you provide more details on where you're seeing this happen?
0 -
Yeah, I noticed that when I posted. Strange. Here's the page from which I pulled that particular example: http://thirdmill.org/seminary/lesson.asp/vs/byt/ln/4/df/y. I'm using this link for the js source: http://bible.logos.com/jsapi/referencetagging.js.
0 -
That is the old version of reftagger. If you are able to do so, please upgrade to the latest version (instructions are on reftagger.com) and let us know if you still see the issue.
David Mitchell
Development Lead
Faithlife0 -
Yep, that works better. Why is that other link still serving an old version?
0 -
Ra McLaughlin said:
Yep, that works better. Why is that other link still serving an old version?
Many users heavily customized the display of the old version's tooltips (using CSS); tooltips in the new version have a significantly different structure, making it incompatible with customizations for the old version. Because of this, we chose to make the latest version opt-in.
David Mitchell
Development Lead
Faithlife0 -
Ah, makes sense. How can I keep up to date in the future?
0 -
Ra McLaughlin said:
Ah, makes sense. How can I keep up to date in the future?
We don't anticipate making any changes that would require user's to manually update their version of RefTagger in the foreseeable future. However, there is an email signup at the bottom of http://reftagger.com/. If you sign up, you will be notified of important updates that we make to the tool.
David Mitchell
Development Lead
Faithlife0 -
Done! Thanks!
0