Ticket #688 (closed defect: fixed)
html corruption with <p> tags
|Reported by:||akaEdge||Owned by:||gogo|
This problem has been duplicated on Firefox 188.8.131.52 and IE 6.0. - with the latest nightly version as per 24/02/2006
If I type <p>some test text</p> into the xinha-area (<p> can be replaced by <h1> etc - but not <u> or other inline formatting) when it is in html editing mode, and then I switch back to WYSIWYG mode and then back to htmlmode I see that the <p>some test text</p> has had a line break (and space in IE) inserted before it.
If this is then submitted (with line break and space) that is the data that ends up in my database.
But then when I re-populate my xinha-area with this data the linebreak is replaced by a <br> tag and the space by and another linebreak and space are there. This means I keep submitting the form the data keeps moving down and down!
I have turned off all outer style sheets just in case any padding etc was being interpreted as a line break. Still no luck. I thought it might have something to do with the fact that there looks like there is a line break there in the WYSIWYG mode (there seems to be around a 10px padding top and left)
I notice there was another ticket about html curruption - it didn't quite look the same though - and that fix didn't seem to have any effect.
Here is an example page if you want to see - you can submit if you want to. http://www.wildcatsfc.com/news/test_edit_article.asp?news_article_ref=3EABC7DBFDA643AD89084AF63FF0FAB9