Merge branch 'master' into 'master'

Update FurnitureDataConverter.ts

See merge request nitro/nitro-converter!3
This commit is contained in:
Bill 2021-04-30 07:53:02 +00:00
commit 32435a3c84

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);