PDA

View Full Version : [FIXED-189] HTML property - rendering fails when <CR><LF> included



lorezyra
21 Jul 2010, 11:09 PM
I've observed another issue where adding inline HTML can cause issues when a carriage return chr(13) is present in the string.

Example:
* Add a Panel to a new project in XDS. (Default config is fine.)
* Add the following text to the HTML property:


<i>Testing the inline HTML property...<BR> (\n)
This Designer is way cool!<BR><BR>Can we do <u>another line</U>? (\n)
<BR>//TODO: redesign this HTML... (\n)
The issue results from the HTML leaving an unterminated string in the code.


Perhaps you could strip out any newline ('\n' || '\r' || '\n\r') character codes from the string?

jarrednicholls
22 Jul 2010, 5:42 AM
Hi lorezyra,

Thanks for reporting this. I'll get this corrected for the next release.