Corrected xhtml.removeBlanks method to not remove complex tree like <ul> or <ol>o