mirror of
https://github.com/billsonnn/nitro-converter.git
synced 2024-11-26 09:20:51 +01:00
Merge branch 'master' of https://git.krews.org/nitro/nitro-converter
This commit is contained in:
commit
44cf84ea72
@ -45,7 +45,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