It would be helpful if the module could be configured to match only the first occurrence of any given term.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

hyperlogos created an issue. See original summary.

DrColossos made their first commit to this issue’s fork.

drcolossos’s picture

Status: Active » Needs review

I added a config that allows to match only once. This does not take upper/lower casing into account. Additionally, I unified the "matches" array it results in nested <span class="glos-term"... because the same value could be replaced mutliple times

drcolossos’s picture

This does not yet match across fields

olivier.br made their first commit to this issue’s fork.

  • 1932c38e committed on 3.0.x
    Issue #3312730 by DrColossos: Match only once
    
olivier.br’s picture

Status: Needs review » Fixed

Added to dev branch, thanks for your work

drcolossos’s picture

olivier.br’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.