diff --git a/packages/mindplot/src/components/persistence/XMLSerializerBeta.ts b/packages/mindplot/src/components/persistence/XMLSerializerBeta.ts index 1c1efca1..b8bdd9fa 100644 --- a/packages/mindplot/src/components/persistence/XMLSerializerBeta.ts +++ b/packages/mindplot/src/components/persistence/XMLSerializerBeta.ts @@ -216,8 +216,10 @@ class XMLSerializerBeta implements XMLMindmapSerializer { topic.setOrder(parseInt(order, 10)); } - const shape = domElem.getAttribute('shape'); + let shape = domElem.getAttribute('shape'); if ($defined(shape)) { + // Hack for legacy mapping loading ... + shape = shape === 'rectagle' ? 'rectangle' : shape; topic.setShapeType(shape); }