plone-gomobile/mobile.htmlprocessing — pull request #1 by reinhardt (2013-11-14 13:45:55+00:00)
Title: use method="html", fixes display issues with anchors

I have experienced display issues when using the gomobile.mobile package in Plone 4. They were caused by anchors being modified from having an explicit end tag to a slash terminated single tag, i.e. from something like

to

The test test_no_modify_anchor demonstrates this issue.

Changing method="xml" to method="html" in the lxml tostring() call fixes it. I propose to change this, except of course there is a reason why method="xml" is necessary.