diff --git a/lib/draw/BpmnRenderer.js b/lib/draw/BpmnRenderer.js index 95e380aa4d..7f284edc25 100644 --- a/lib/draw/BpmnRenderer.js +++ b/lib/draw/BpmnRenderer.js @@ -160,7 +160,7 @@ export default function BpmnRenderer( function colorEscape(str) { // only allow characters and numbers - return str.replace(/[^0-9a-zA-z]+/g, '_'); + return str.replace(/[^0-9a-zA-Z]+/g, '_'); } function marker(type, fill, stroke) {