mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-05-27 11:10:25 +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}"/>`,
|
||||
'URL': url,
|
||||
'UBB': `[IMG]${url}[/IMG]`,
|
||||
'Custom': customLink.replace(/\$url/, url)
|
||||
'Custom': customLink.replace(/\$url/g, url)
|
||||
}
|
||||
return tpl[style]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user