mirror of
https://github.com/billsonnn/nitro-converter.git
synced 2024-11-26 09:20:51 +01:00
Merge branch 'master' into 'master'
Update FurnitureDataConverter.ts See merge request nitro/nitro-converter!3
This commit is contained in:
commit
32435a3c84
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user