Status

For bugs and requests related to management of the Mozilla Developer Network, and for bugs and requests related to the Kuma platform that drives the MDN wiki. Documentation content related issues should be reported under 'Developer Documentation'.

Security

(public)

User Story

What did you do?
================
I don't know if this is the right place to post the problem (basically if this is a problem with Kuma or the documentation), but I saw it in a number of places so I figured I'd post about it here.
It looks like when trying to format a code snippet of CSS, actually displaying it on the page causes all the HTML to be escaped. Meanwhile in the editor, it formats the selection properly. I think it becomes pretty obvious with an example, so here's one: https://developer.mozilla.org/en-US/docs/Web/CSS/animation#Syntax
What happened?
==============
What should have happened?
==========================
Is there anything else we should know?
======================================
Original ticket: https://github.com/mozilla/kuma/issues/2699

This is a limitation of prism.js which gets run on the page but not on in the wiki editor.
In Bug 1102508 we are trying to find a solution specifically for the syntax boxes, (it would not apply for all code snippets).