From 7ed3f03c1af369de67c0fce16ead7916fa5af2aa Mon Sep 17 00:00:00 2001 From: necmi <183-necmi@users.noreply.git.krews.org> Date: Wed, 28 Apr 2021 23:58:26 +0000 Subject: [PATCH] Update FurnitureDataConverter.ts --- src/converters/furnituredata/FurnitureDataConverter.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/converters/furnituredata/FurnitureDataConverter.ts b/src/converters/furnituredata/FurnitureDataConverter.ts index 6acd071..6ca9901 100644 --- a/src/converters/furnituredata/FurnitureDataConverter.ts +++ b/src/converters/furnituredata/FurnitureDataConverter.ts @@ -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);