Export to lyxhtml broken
Thibaut Cuvelier
tcuvelier at lyx.org
Sat Sep 19 23:36:12 UTC 2020
On Sun, 20 Sep 2020 at 01:25, Kornel Benko <kornel at lyx.org> wrote:
> Am Sat, 19 Sep 2020 19:12:12 -0400
> schrieb Scott Kostyshak <skostysh at lyx.org>:
>
> > On Sat, Sep 19, 2020 at 07:09:55PM -0400, Scott Kostyshak wrote:
> > > On Sun, Sep 20, 2020 at 12:08:55AM +0200, Kornel Benko wrote:
> > > >
> > > > Unfortunately the tests do not try to display the resulting
> > > > xhtml code, they only check with xmllint.
> > > >
> > > > ATM, most (if not all) xhtml exports create invalid output in the
> sense
> > > > that the output is not displayable with firefox.
> > > >
> > > > (This works with lyx2.3)
> > >
> > > I can reproduce. For example, with the English "Welcome.lyx" file, I
> get the
> > > following error when viewing in Chromium:
> > >
> > > error on line 47 at column 152: Entity 'rArr' not defined
> > >
> > > The export of the 2.3.x analog seems to works fine.
> >
> > We might need to tweak our xmllint flags? Running with no flags does
> seem to catch this
> > error:
> >
> > $ xmllint Welcome.xhtml
> > Welcome.xhtml:47: parser error : Entity 'rArr' not defined
> > ase use it! Start with the menu <span
> style='font-family:sans-serif;'>Help⇒
> > ...
>
> Yes, looks like 'xmllint --sax' does not do what we want ( at least for
> xhtml)
>
Maybe --debugent will? It's supposed to deal with XML entities, such as
⇒
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200920/873791ce/attachment-0001.html>
More information about the lyx-devel
mailing list