mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 06:33:05 -04:00
fix icon name replacement regex
This commit is contained in:
parent
e8a425f39c
commit
0f7c2da09b
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ function _icon(icon){
|
|||
if(ICONS[icon]) i = ICONS[icon];
|
||||
if(ICONS_NEXTGEN[icon]) i = ICONS_NEXTGEN[icon];
|
||||
|
||||
return i.replace(/:[a-z1-9_]*:/, ':i:');
|
||||
return i.replace(/:[a-z0-9_]*:/, ':i:');
|
||||
}
|
||||
|
||||
// Ensures potentially user-provided content won't escape pill components
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue