I have a SQL (classic) report in Apex 4.0.2 with the following column
decode(some_col,NULL,NULL,'class="foo"') foo
This column is not displayed on the report but the value is used to construct the HTML Expression in another column that is displayed. The HTML Expression goes like this
<img #FOO# src="/i/menu/add-small.png"/>
There is a CSS snippet that styles img.foo as needed.
In v4.0.2, this gets rendered as
<img class="foo" src="/i/menu/add-small.png"/>
But in 4.2, this comes out as
<img class=""foo"" src="/i/menu/add-small.png"/>
Notice the doubled up quotes. In addition to being invalid markup, the CSS doesn't kick in so the element doesn't get styled.
Is this a bug? Or did my app just afoul of the ongoing effort to generate more standards-compliant markup? Is there a workaround?
Thanks