Closed
Bug 917894
Opened 12 years ago
Closed 12 years ago
JavaScript syntax hightlighting is confused by the spread operator.
Categories
(developer.mozilla.org Graveyard :: Design, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: teoli, Unassigned)
References
()
Details
The MDN is always on the bleeding edge of the Web development!
So we already have examples using the new Harmony/EcmaScript 6 experimental-but-approved spread operator. (see page in URL).
It is a '...' that confuse the syntax hightlighter that doesn't highlight anything any more.
Comment 1•12 years ago
|
||
I found that the first <pre class="brush: js"> contians <code class="lang-javascript"> statically,
which should be generated dynamically.
If I remove the tag, it seems that it works correctly.
Reporter | ||
Comment 2•12 years ago
|
||
Oh cool! Thank you.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Updated•5 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•