GithubHelp home page GithubHelp logo

Comments (7)

johnfactotum avatar johnfactotum commented on July 24, 2024 1

Not sure. You can try searching or reporting the issue to the individual browser engines, like https://bugzilla.mozilla.org/, https://bugs.webkit.org/, https://issues.chromium.org/issues. It's possible that this might be a spec issue, too, in which case you could discuss this in W3C's issue trackers for MathML.

In particular, MathML 3/4 has the following:

an inline math element should be treated as inline (typically exactly as if it were a sequence of words in normal text). In particular, this applies to spacing and linebreaking: for instance, there should not be spaces or line breaks inserted between inline math and any immediately following punctuation.

From https://www.w3.org/TR/MathML3/chapter2.html and https://w3c.github.io/mathml/. But I'm not sure if this is part of MathML Core, which seems to be what browsers are implementing today.

from foliate.

ahelwer avatar ahelwer commented on July 24, 2024

I will attempt to reproduce this on the latest version of Foliate.

from foliate.

ahelwer avatar ahelwer commented on July 24, 2024

I got version 3.1.1 from the nix unstable channel and confirmed this issue still occurs on it.

from foliate.

johnfactotum avatar johnfactotum commented on July 24, 2024

This seems to be not our bug and not specific to Foliate. I can reproduce this in a plain HTML file in Firefox, WebKitGTK, and Chromium.

from foliate.

ahelwer avatar ahelwer commented on July 24, 2024

Well, shoot. Seems so far upstream that it will be years before it is fixed. Thanks for checking!

from foliate.

ahelwer avatar ahelwer commented on July 24, 2024

Anyway, solved by placing the quotes inside a <mtext> element inside the <math> element.

from foliate.

ahelwer avatar ahelwer commented on July 24, 2024

@johnfactotum if I did want to get the ball rolling on upstream fixes, what would be the right bug database to use?

from foliate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.