Problem/Motivation

Only whole words should be highlighted. Not words that have entries of the matched text.

Steps to reproduce

"?hl=is" should highlight "is" but shouldn't "issue". Now both will be highlighted.

Proposed resolution

Adapt regular expression.

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork anu_lms-3312107

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

beloglazov91 created an issue. See original summary.

beloglazov91’s picture

Title: Highlighting should be applied » Highlighting should be applied for whole words

beloglazov91’s picture

Status: Active » Needs review
spleshka’s picture

Version: 2.8.2 » 2.x-dev
beloglazov91’s picture

Assigned: beloglazov91 » Unassigned

spleshka’s picture

Status: Needs review » Fixed

Great, thanks for the fix! Happy to merge it.

Status: Fixed » Closed (fixed)

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