Skip to content

[BUG] Article links should highlight the whole word #260

@sebastien46

Description

@sebastien46

Describe the bug

Highlighted words linking to an article aren't highlighted all the way when they have additional prefixes or suffixes (only the part that is that is the actual article link is), whereas they are in regular Wikipedia .

To Reproduce

Steps to reproduce the behavior:

  1. Go to any Article containing links to another Article with a prefix or a suffix attached
  2. See error

Expected behavior

The whole word should be highlighted

Screenshots

Additional context

The '''cerebellum''' ({{plural form}}: '''cerebella''' or '''cerebellums'''; Latin for 'little brain') is a major feature of the [[hindbrain]] of all [[vertebrate]]s. Although usually smaller than the [[cerebrum]], in some animals such as the [[mormyrid]] [[fish]]es it may be as large as it or even larger.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions