mirror of
https://github.com/billsonnn/nitro-converter.git
synced 2024-11-22 15:40:52 +01:00
Update FurnitureDataConverter.ts
This commit is contained in:
parent
928a4dc54e
commit
7ed3f03c1a
@ -43,7 +43,8 @@ export class FurnitureDataConverter extends Converter
|
||||
|
||||
if(!furnitureDataString.startsWith('{'))
|
||||
{
|
||||
const xml = await parseStringPromise(furnitureDataString);
|
||||
const xml = await parseStringPromise(furnitureDataString
|
||||
.replace(/&/g,'&'));
|
||||
|
||||
const furnitureData = await this.mapXML2JSON(xml);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user