Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Apex 4.2 - Column HTML expression

partlycloudyOct 23 2012 — edited Oct 24 2012
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
This post has been answered by Patrick Wolf-Oracle on Oct 23 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 21 2012
Added on Oct 23 2012
5 comments
4,210 views