Dumbledore__
Dumbledore__

Reputation: 107

Write HTML inside HTML Table Azure Logic Apps

I'm parsing some JSON into an HTML table in Azure Logic Apps. I want some list elements to be separated into multiline cell. Example: enter image description here

However, the < and > symbols are being escaped causing this to be interpreted literally in the output: enter image description here

Is there any way to escape the escape?

Upvotes: 0

Views: 737

Answers (1)

VenkateshDodda
VenkateshDodda

Reputation: 5506

You can use the below replace actions to remove those html escape characters.

replace(replace(variables('string'),'<br>',' '),'<test>', ' ')

Here is the sample output when using the above replace action

enter image description here

  • Alternatively, Microsoft have included new connector called - Content Conversion.This converts HTML contents to plain string.

Here is the sample output : enter image description here

Here is the reference SO thread

Upvotes: 0

Related Questions