Hyperlinks inside <NB><Nb> tag

Ask here any questions regarding program functionality
RubioTerra
Posts: 732
Joined: Wed Sep 23, 2009 5:13 pm
Location: Brasília, Brazil

Hyperlinks inside <NB><Nb> tag

Post by RubioTerra »

I'm working on a module that has annotations inline with verses. Some annotations have hyperlinks in them. All the hyperlinks work fine. Here's a sample verse:

nonon nonono nononon (my annotations with a <a href="xxx">hyperlink</a>) nononono.

Annotations don't belong the the Bible, so I put them inside a tag and created a verse rule to mark them as non-bible text. Something like this:

nonon nonono nononon «n=(my annotations with a <a href="xxx">hyperlink</a>)» nononono.
...
verse.rule= "«n=(.*?)»" "<NB toggle=a>$1<Nb>"

Whe I do this the annotations are treated as non-bible text OK but the hyperlinks stop working. So my doubt is: Is it possible to have hyperlinks inside non-bible text?
Rúbio R. C. Terra
Brasília/DF - Brasil
csterg
Site Admin
Posts: 8627
Joined: Tue Aug 29, 2006 3:09 pm
Location: Corfu, Greece
Contact:

Re: Hyperlinks inside <NB><Nb> tag

Post by csterg »

Try to put a different font color for the href links, e.g <a href="...><font color="blue">annotation</font></a>
Does this work?
RubioTerra
Posts: 732
Joined: Wed Sep 23, 2009 5:13 pm
Location: Brasília, Brazil

Re: Hyperlinks inside <NB><Nb> tag

Post by RubioTerra »

It worked! Thanks, Costas!
Rúbio R. C. Terra
Brasília/DF - Brasil
Post Reply