If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Kuma doesn't show <span style="color:xx">

RESOLVED FIXED

Status

Mozilla Developer Network
Wiki pages
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: Pike, Unassigned)

Tracking

Details

(URL)

(Reporter)

Description

5 years ago
Jeff is using colors to highlight specific text by audience in https://developer-new.mozilla.org/en-US/docs/Localization_Quick_Start_Guide, and they're not shown in the kuma version of MDN.

Probably similar to bug 769570?
I've done a Github's PR adding the color CSS property to the CSS whitelist for the style attribute. ( https://github.com/mozilla/kuma/pull/402 )

Once merged, this should fix the problem.

Note that in the mid-term we plan not to use the style attribute anymore, but to replace it by semantic class attributes (which will let us to centrally control the chosen color for example). But that's for the mid-term future.

Comment 2

5 years ago
Commit pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/dcc6b63a9ace4b8488f7b84f426c65a22c972dbf
fix bug 773923: Whitelist 'color' in style attributes.

Updated

5 years ago
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
qa-verifed https://developer-new.mozilla.org/en-US/docs/Localization_Quick_Start_Guide/Initial_setup
(Assignee)

Updated

5 years ago
Version: Kuma → unspecified
(Assignee)

Updated

5 years ago
Component: Website → Landing pages
Product: Mozilla Developer Network → Mozilla Developer Network
You need to log in before you can comment on or make changes to this bug.