Hi all…
I’m using a new version of bpmn.io and realized that maybe cdata isn’t working like it used to.
I use a script in the script tag and I get this result in the old version
<bpmn2:scriptTask id="Task_1xiponc" name="Gravar abastecimento" scriptFormat="javascript">
<bpmn2:script> **<![CDATA**[var f = vScriptService.loadScript('abastecimento_gravar_registros', 'javascript');f(execution); **]]>** </bpmn2:script>
</bpmn2:scriptTask>
But now I got this result with the new version:
<bpmn2:scriptTask id="Task_1xiponc" name="Gravar abastecimento" scriptFormat="javascript">
<bpmn2:script> var f = vScriptService.loadScript('abastecimento_gravar_registros', 'javascript');f(execution); </bpmn2:script>
</bpmn2:scriptTask>
CDATA is no longer applied.
For various reasons, we need to use CDATA in these cases.
Is there some configuration to make it work?
Thank you very much!