Share feedback, ideas and get community help

Updated 10 months ago

Inline variable formatting not working with latest update.

At a glance

A community member reported an issue with inline variable formatting code that was working fine before the latest update. The code they had was {{={{MainInfo1}}.replace(/\n/g, '

').replace(/(.*?)/gi, '$1')}}
, which was displaying the content of MainInfo1 correctly before the update. However, after the update, the formatted content was not being displayed properly. Another community member acknowledged the report and mentioned that the issue was fixed a few hours ago.

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