Don't consider a term replaced if it is in an element with glossify-exclude

Created on 9 July 2025, 7 days ago

Problem/Motivation

This is a followup to Don't replace term if there is already a link on this term in the page Active .
If a word is found in an element of the page that has the glossify-exclude class, it will be considered as already glossified and will not be replaced elsewhere in the page.

This is confusing for our users. They don't understand why we don't glossify a term because it is in a part of the page that has nothing to do with glossify.

Steps to reproduce

Proposed resolution

Don't add the term to $replaced if it was found in an element with the glossify-exclude class.

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

3.1

Component

Code

Created by

🇫🇷France prudloff Lille

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024