https://bugs.documentfoundation.org/show_bug.cgi?id=153839

--- Comment #9 from Franklin Weng <[email protected]> ---
(In reply to Stéphane Guillou (stragu) from comment #7)
> Created attachment 186006 [details]
> test ODT to export as XHTML
> 
> Thanks for this work, Franklin.
> I just tested and I think it's pretty closed to be resolved, the HTML source
> is a lot more readable now.
> I am attaching an example file that I used, to list a couple of extra tags
> that could be improved, if you feel like submitting follow-ups:
> 
> - Comments of the type <!--Next 'div' was a 'text:p'.--> are either kept
> inline or breaking across multiple lines in a weird way
> - Table markup could be broken down better, as it overflows heavily. But
> this might also have to do with the filter creating unnecessary complicated
> table markup, I'm not sure.
> - Note also the closing </table> tag directly followed by <h1> without
> breaking.
> 
> What do you think?

Looks like a lot more complicated, but I think I can spend some time figuring
it out and see if it could pass the unit test or not.

However in the commit Miklos commented that:

> in general the XSL-based XHTML export is horrible, you should never use it. 
> Instead, you can use the XHTML mode of the C++-based HTML export, like:
> soffice --convert-to "xhtml:HTML (StarWriter):XHTML" ...
> I just note this because this change is easy enough to review, but if you 
> would want nontrivial changes in this XSL mess, I won't be able to review. 

I guess so far we still need to stick with the XSLT solutions if C++ based HTML
export could only used by command line, which doesn't make much sense for
normal users.  I can test it as well, though.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to