xhtml() doesn't render fragment as expected

Asked by Luc Saffre on 2011-05-17

The problem described in
https://answers.launchpad.net/appy/+question/157802
is solved by the ``i += 1`` patch, but the HTML fragment of that testcase isn't rendered as I would expect.
It contains a H1 and a PRE paragraph. The title is not rendered at all, and the PRE paragraph is rendered like normal text. Any ideas?

Luc

Question information

Language:
English Edit question
Status:
Solved
For:
Appy Edit question
Assignee:
No assignee Edit question
Solved by:
Luc Saffre
Solved:
2011-05-23
Last query:
2011-05-23
Last reply:
2011-05-23

Hi Luc,
Indeed , all HTML tags are not supported yet...
https://blueprints.launchpad.net/appy/+spec/pod-xhtml-implement-all-tags
Any help is welcome ;-)
Gaetan

Luc Saffre (luc-saffre) said : #2

Thanks for the answer. We'll see what I can do to help.

Today I started to write a function that converts HTML (not XHTML) directly to ODT-XML. Lino currently uses the ExtJS HtmlEditor which saves to plain HTML, not XHTML. I'd also try TinyMCE. But maybe I should rather simply switch to Kupu? Can you point me to a public example of a Kupu editor field? I've never seen it (or probably I did, but wasn't aware that this is Kupu)