Closed (outdated)
Project:
Glossary
Version:
6.x-1.6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jun 2009 at 15:50 UTC
Updated:
1 May 2017 at 17:13 UTC
Jump to comment: Most recent
I have the glossary configured for full HTML, with the 'Word' match type selected and 'Replace matches' set to 'only the first match' - however, the first occurrence of the word is being ignored if it's preceded by a string containing the word (i.e., without breaks).
I'm using the WYSIWYG module.
Thanks,
Paul N.
Comments
Comment #1
netbear commentedI have similar issue. In my case glossary links do not appear with the 'Word' match type selected and 'Replace matches' set to 'only the first match' but in 'filtered HTML' filter, and when I choose 'all matches' they appear but excluding first match(which is wrapped in h2 tag for example). And when I change filter to 'full HTML'(I configured both filters the same - the glossary filter plays the last) glossary links never appear whatever I choose 'only the first match' or 'all matches'.
Comment #2
Anonymous (not verified) commentedSubscribing.
I use match type "word" and "only the first match" and if the term is "Foto" and the text contains a word like "Fotografie" before the first occurence of "Foto", "Foto" is not matched. I found out by changing "Fotografie" to "Fxtografie" after which glossary correctly matched the first occurence of the word "Foto".
So it seems that the module does not take into account the matching type when it has to decide if a match has already been found.
Comment #3
nancydru