oxygen text-wrap corrupts self-closing elements
Posted by sarneil on 26 Feb 2010 in Activity log
While working in Oxygen, I enabled the "line wrap" and then disabled it again. I also clicked the "indent" button on the button bar. One of these two operations caused Oxygen to go through the XML and reparse it. Because the "Expand empty elements" checkbox in the Editor / Format / XML panel was not selected a script tag was re-rendered as a self-closing script tag (i.e. <script ....></script> became <script ... />) and that caused the page to fail to display in the browser, even though the code was valid. When I selected the "Expand empty elements" checkbox, problem solved.