mirror of
https://github.com/Kvan7/Exiled-Exchange-2.git
synced 2026-09-24 21:55:41 +00:00
fix: poeprices sometimes not working
This commit is contained in:
@@ -104,5 +104,7 @@ function querystring (q: Record<string, any>) {
|
||||
*/
|
||||
function transformItemText (rawText: string) {
|
||||
// this may not account for all cases
|
||||
return rawText.replace(/(?<=\d)(\([^)]+\))/gm, '')
|
||||
return rawText
|
||||
.replace(/(?<=\d)(\([^)]+\))/gm, '')
|
||||
.replace(/^\{.+\}$\n/gm, '')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user