Ticket #1513 (new defect)
Xinha inserts <br /> after empty <div>
|Reported by:||guest||Owned by:|
|Severity:||normal||Keywords:||html br empty div|
When editing a page in Xinha I find that a " <br />" gets inserted after an empty <div>
I have created a test page on my domain at http://stu.ie/xinhatest/xinhatest.html
If you enter source mode and go to the line with the #slideshow <div> you will see " <br />" after the closing div tag. If you delete that <br /> and then go back to WYSIWYG, then back to source, you will see that the <br /> has been re-created.
This happens if I remove the space between the </div> and the </td>, AND if I use a self-closing <div />.
I can prevent this from happening by putting some content ( ) in the #slideshow <div> but that's not really a great solution...
I'm struggling to find the cause of this weirdness, and haven't noticed it before now. I have searched tickets and Google for this issue but cannot find mention of it.
I can reached by email at stuart.gilbert @ gmail.com if any more information is required, or if there's a known fix for this issue.