mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
5191f8908e
commit
a1bff2168e
@ -758,11 +758,11 @@ var features2lnk =
|
||||
module.features2lnk =
|
||||
function(features, text){
|
||||
features = new RegExp(
|
||||
'( )('
|
||||
'(\\s)('
|
||||
+(features
|
||||
.sort(function(a, b){ return b.length - a.length })
|
||||
.join('|'))
|
||||
+')([, ]?)',
|
||||
+')([,\\s]?)',
|
||||
'g')
|
||||
return text
|
||||
.replace(features, function(match, a, b, c){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user