Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render € signs as text instead of LaTeX #1633

Open
CodingDive opened this issue Apr 16, 2024 · 0 comments
Open

Render € signs as text instead of LaTeX #1633

CodingDive opened this issue Apr 16, 2024 · 0 comments

Comments

@CodingDive
Copy link
Contributor

Receiving a lot of warnings No character metrics for '€' in style 'Main-Regular' and mode 'text' for editor state that looks like this.

{
    "type": "math",
    "src": "8,99€",
    "inline": true,
    "children":
    [
        {
            "text": ""
        }
    ]
}

The problem is that KaTeX does not have support for the € character right now. It's a very low priority migration, but we could escape the symbols to render the symbol as text 8,99\text{\euro} which will remove the warning.

Alternatively, just pop this into the filter of your chrome devtools. -Main-Regular 🤷

@hugotiburtino hugotiburtino transferred this issue from serlo/db-migrations Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant