It's a horrible way to code but it ensures everything is WYSIWYG.

There is better ways to do it but we don't currently have the manpower to rewrite the entire HTML filter. It is on our list to do but keeping in mind the idea of Xara isn't to produce editable HTML code. Just code that works (not nicely.. but works still).

One day Acorn.