toddhalfpenny / sfflowvisualiser-vscode

Salesforce Flow to PlantUML VS Code extension
ISC License
29 stars 5 forks source link

[BUG] - HTML entities in textTemplates are causing rendering issues #15

Open toddhalfpenny opened 9 months ago

toddhalfpenny commented 9 months ago

As with the forumlas, textTemplates are borkng when there are HTML entities in the textTemplates

Example;

<textTemplates>
        <name>MSTeamError</name>
        <isViewedAsPlainText>false</isViewedAsPlainText>
        <text>&lt;p&gt;&lt;strong style=&quot;color: rgb(255, 0, 0);&quot;&gt;The following error occurred when the job ran in Org - {!CurrentOrgId}: &lt;/strong&gt;&lt;/p&gt;&lt;p&gt;{!$Flow.FaultMessage}&lt;/p&gt;</text>
</textTemplates>

WhatsApp Image 2023-11-21 at 17 49 44