I need to have a single top-level element in order to serialize to XML when returning the editor’s content back to the text area, because, unlike PostgreSQL, XMLSerializer only works with XML documents. I added a <div> because this is the least “semantic” block element there is, but Oriol seems to have trouble in services when trying to align services using a grid due to this extra div. Now i still use the div to serialize to XML, but then remove that top-level element from the output string by stripping out its label. I can not be sure that all browsers would serialize the <div> in the same way, thus i can not use fixed indices in call to substring.
Languages
PLpgSQL
69.3%
Go
25.1%
CSS
4.3%
JavaScript
0.8%
Scheme
0.4%