-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
MAULThis issue is for the MAUL enhancement scriptThis issue is for the MAUL enhancement scriptbugSomething isn't workingSomething isn't working
Description
The code for changing admins online into a hyperlink may have issues when encountering an overlap. If one admin's name contains another's, it may, in an edge case, result in a double hyper-link or partially hyperlinked name.
Currently, it will replace the first match it finds in the str and iterate through the admins online in order, so a str such as Jayy, Jay, would turn into <a href="etc">Jayy</a>, Jay on the first iteration (it finds Jayy in the list of admins, then hyperlinks it), and <a href="etc"><a href="etc2">Jay</a>y</a>, Jay on the second iteration (in theory, it would find Jay in the list of admins, search left -> right using replace, and find the first Jayy as a result).
Metadata
Metadata
Assignees
Labels
MAULThis issue is for the MAUL enhancement scriptThis issue is for the MAUL enhancement scriptbugSomething isn't workingSomething isn't working