In ArcGIS Pro Arcade Expression I can build a variable for an html tag and pass it to the popup window and it works. But when I publish this as a web map, the variable just passes the html tag as dumb text - so much for Arcade being seamless, portable, and application agnostic :-(.
I'm trying to make the background-color of the div red or green depending on the value returned in the filter of the expression.
Here's what the variable looks like (where bg and myDelqTax are variables assigned earlier):
var html = "<div style='padding:8px; color:white; font-weight:bold; " +