Closed Bug 1239021 Opened 8 years ago Closed 8 years ago

Bleach: Allow math attributes on <mn> elements

Categories

(developer.mozilla.org Graveyard :: Wiki pages, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: fs, Unassigned)

Details

(Keywords: in-triage)

Discovered by our recent MathML documentation contributor "Draussenduscher".

<mn> elements can't have any attributes at the moment. 

Probably, this line should have been ALLOWED_ATTRIBUTES['mn'] instead of ALLOWED_ATTRIBUTES['mi']:

https://github.com/mozilla/kuma/blob/master/kuma/wiki/constants.py#L109

I can create a PR for this, if no one beats me to it.
Severity: normal → minor
Keywords: in-triage
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/80910211b1254a62b976c47f80be167a480727e3
Fix bug 1239021: Correct ALLOWED_ATTRIBUTES for MathML <mn> element

https://github.com/mozilla/kuma/commit/d5e37fc656e5818d2e838ea5c685a6dd37e21fa5
Merge pull request #3756 from Elchi3/bug1239021

Fix bug 1239021: Correct ALLOWED_ATTRIBUTES for MathML <mn> element
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.