HTML page links to glossary entries

I am using HTML format in SAB because I need pictures with text wrapped around them. This works.

However I’d also like to have scripture ref linked to a glossary of Bible verses. Seems the SFM \w …\w* doesn’t work.

Is there a method that will work?