Posted by pauln600 on June 18, 2009 at 3:50pm
Jump to:
| Project: | Glossary |
| Version: | 6.x-1.6 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
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
#1
I 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'.
#2
Subscribing.
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.