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!

Line breaks being replaced by <br> tags in display only field

Luis CabralJul 14 2014 — edited Jul 15 2014

Hi,

In Apex 4.2.4 I have a display only field with this content:

<p>Line 1

<p>Line 2

Note that there is a line break between these lines.

This field is rendered on the page like this (with escape special chars = NO):

<p>Line 1

<br>

<p>Line 2

Obviously this messes up the layout. The same thing happens if you have a rich text editor field with is conditionally rendered as read only.

Is this a known bug?

As a workaround, I am explicitly removing all chr(10) and chr(13) from the field when the page loads (far from ideal...)

Thanks

Luis

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 12 2014
Added on Jul 14 2014
3 comments
967 views