mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-09-05 23:47:43 +08:00
Fixed: #61 || custom url can have more than one place
This commit is contained in:
@@ -7,7 +7,7 @@ export default (style, url) => {
|
|||||||
'HTML': `<img src="${url}"/>`,
|
'HTML': `<img src="${url}"/>`,
|
||||||
'URL': url,
|
'URL': url,
|
||||||
'UBB': `[IMG]${url}[/IMG]`,
|
'UBB': `[IMG]${url}[/IMG]`,
|
||||||
'Custom': customLink.replace(/\$url/, url)
|
'Custom': customLink.replace(/\$url/g, url)
|
||||||
}
|
}
|
||||||
return tpl[style]
|
return tpl[style]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user