[opencms-dev] HTML Parsing Bug

Nicholas DeSteffen ndesteffen at tlcontact.com
Thu Dec 6 16:45:49 CET 2007


Ok,

I'm wondering if somebody would be so kind to test that this is a bug or not, I have the following block of HTML that I am copying out of our current site putting into a page in OpenCms.  FCKEditor seems to work fine with this, however as soon as it is saved to the database the HTML is changed and doesn't render properly.  Below is the HTML before the save and after the save.  I have also tried going through WebDAV through the following steps and still get the same results:

1.)     Save the XML file to my local desktop

2.)     Update the appropriate section

3.)     Copy the XML back to the VFS

4.)     View page

 

So it seems that OpenCms is parsing out and changing the code, I think this could be a serious bug as the HTML I'm putting in is valid.

 

Original copy:

<p>“Even from the get-go, when the shock wore off, I refused to  believe that I was not  going to live,” Lisa says confidently. “I was not in denial. I was  informed but I knew. Not yet, not now.”</p>

 

Rendered as:

"Even from the get-go, when the shock wore off, I refused to believe that I was not going to live," Lisa says confidently. "I was not in denial. I was informed but I knew. Not yet, not now."

 

Copy after save and exit:

<p>“Even from the get-go, when the shock wore off, I refused to believe that I was not going to live,” Lisa says confidently. “I was not in denial. I was informed but I knew. Not yet, not now.”& lt; /p></p>

 

Rendered as:

"Even from the get-go, when the shock wore off, I refused to believe that I was not going to live," Lisa says confidently. "I was not in denial. I was informed but I knew. Not yet, not now."& lt; /p>

 

Nick DeSteffen

Web Developer - CarePages Inc.

http://www.carepages.com

ndesteffen at tlcontact.com

 

 


----

Harness the compassion to help when someone needs
you. We're excited to announce 'We Carry Each
Other,' a collection of inspiring stories and
practical tips on how to cope and care from Eric
and Sharon Langshur, the founders of CarePages.
Look at your local major bookseller or visit
http://www.carepages.com/we_carry.jsp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20071206/e8b8f3aa/attachment.htm>


More information about the opencms-dev mailing list