Render page item which has HTML in Oracle Apex
16:35 19 Nov 2025

I have an application where I need to display and stylize the heading of the region. So instead of display heading simply as "Car", I need to display "car icon Car". This icon and color etc are dynamic as in they will change as per model of the car.

What I was thinking is to generate the HTML for this heading via plsql based on sanitised inputs, store it in hidden page item and then use &P1_PAGE_ITEM. in the region title/heading attribute so that it will render in browser.

The issue I'm facing is, HTML is escaped in page items due to security purposes and there is no way of escaping it unlike report columns.

Is there any other way I can stylize the heading of the region conditionally?

I'm on Oracle Apex v24.2 and Oracle DB v23ai

plsql oracle-apex oracle23ai