String to html display in calculation field

Hi community,

I have a value coming from api with html in string format, see image below


save this to a multi text field.
how can I display this in calculation field in html format?

Cheers,

Hi The most reliable way I have found is to Base64 encode it before putting it into the multiline text and then decode it in the calculation field :frowning: you may also need to striptags from the encoded string before decoding as you are likely to get a string in <p></p> tags.

Buffer.from(record_field_payload_unformatted_value, 'base64').toString('utf-8');
2 Likes