How can we improve Bibles.org?

Fix Highlighter regex (currently gobbles up extra spaces/parens)

The regex for the Bible Highlighter appears to gobble up any spaces and parenthesis to the right of the reference text.

For example, for the text...
"John 1:1 is a great verse."
...the linked text would be:
"John 1:1 " — including an extra space in the link.

Similarly, for the text...
"John 1:1 (NIV) is a great verse."
...the linked text would be:
"John 1:1 (" — including both the extra space and initial paren in the link.

I'd be happy to PR a fix for this if yall point me to a Git repo somewhere...?

1 vote
Vote
Sign in
(thinking…)
Password icon
Signed in as (Sign out)
You have left! (?) (thinking…)
Michael shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Password icon
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base