Export to lyxhtml broken
Kornel Benko
kornel at lyx.org
Sat Sep 19 23:38:11 UTC 2020
Am Sun, 20 Sep 2020 01:36:12 +0200
schrieb Thibaut Cuvelier <tcuvelier at lyx.org>:
> 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
> ⇒
Will try tomorrow. Time to go to bed.
Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200920/4d2dd256/attachment.asc>
More information about the lyx-devel
mailing list