Share feedback, ideas and get community help

Updated 8 months ago

Inline variable formatting not working with latest update.

At a glance
Hi, did you by any chance change the way inline variable formatting code is interpreted. It was working fine, till the latest update.

I had this code: {{={{MainInfo1}}.replace(/\n/g, '<br><br>').replace(/<strong>(.*?)</strong>/gi, '$1')=}}

It was working fine before. MainInfo1 (for example) contains the following content: "<strong>The symptoms of travel sickness:</strong>\n• Nausea\n• Vomiting\n• Yawning\n• Rapid, deep breathing (hyperventilating)\n• Looking pale\n• Sweating\n• Producing more saliva than usual" which is fetched by a HTTP Get Request.

I've shown, in the pictures, when I remove the inline formatting code and just display the variable as it is, what it's showing. And when I add the inline formatting what it's showing (empty).
Attachments
Screenshot_2024-05-23_231816.png
Screenshot_2024-05-23_231654.png
d
B
3 comments
Note, to represent the \n in json data, the json actually contains \n.
Attachment
Screenshot_2024-05-23_232241.png
Indeed, thank you for the report, it was fixed a few hours ago 🙏
Add a reply
Sign up and join the conversation on Discord