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

The values of some attributes are replaced with the attribute name, which breaks MathML #7990

Open
VelizarHristov opened this issue Apr 9, 2018 · 0 comments

Comments

@VelizarHristov
Copy link

Version

2.5.16

Reproduction link

https://gist.github.com/VelizarHristov/edaf4cf0d7b9f90c1e5d6070c027237f

Steps to reproduce

Open the HTML in a browser (Internet connection is required to fetch the libraries).

What is expected?

[] should be displayed

What is actually happening?

open] is displayed


It comes from this line of code:

return ` ${key}="${key}"`

The list of rewritten attributes is here:

export const isBooleanAttr = makeMap(

This is a general problem when including a block of XML in the HTML.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants