In the LayoutEngine.java a TextType's FormatItemField
can't be rendered in HTMLElement but only in StringElement.
But a FieldElement can be rendered as StringElement or
HTMLElement.
I think this normal then, that the TextType could be
rendred in HTMLFormat as well.
So I made a very small path that add in the method
createStringElement a test to know if the FormatItem is
Html or not (as in the method createFieldElement).
This patch is for the HEAD 253d.
LayoutEngine diff