Update FurnitureDataConverter.ts

This commit is contained in:
necmi 2021-04-28 23:58:26 +00:00
parent 928a4dc54e
commit 7ed3f03c1a

View File

@ -43,7 +43,8 @@ export class FurnitureDataConverter extends Converter
if(!furnitureDataString.startsWith('{')) if(!furnitureDataString.startsWith('{'))
{ {
const xml = await parseStringPromise(furnitureDataString); const xml = await parseStringPromise(furnitureDataString
.replace(/&/g,'&'));
const furnitureData = await this.mapXML2JSON(xml); const furnitureData = await this.mapXML2JSON(xml);