Inline variable formatting not working with latest update.
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).