Code boxes/snippets highlighting: double slashes // cause every right of it to get marked up as comment

RESOLVED FIXED

Status

Mozilla Developer Network
General
P2
normal
RESOLVED FIXED
5 years ago
4 years ago

People

(Reporter: aryx, Unassigned)

Tracking

Details

(Whiteboard: [type:bug], URL)

This is an issue with code boxes containing code snippets which get syntax specific mark up: Double slashes ("//") cause every right of it to get marked up as comment.

Example: https://developer.mozilla.org/en-US/docs/JavaScript_code_modules/Using#Programmatically_adding_aliases

var ioService = Components.classes["@<a class="external linkification-ext" href="http://mozilla.org/network/io-service;1" title="Linkification: http://mozilla.org/network/io-service;1">mozilla.org/network/io-service;1</a>"]
                          .getService(Components.interfaces.nsIIOService);

Everything right of href="http: is shows as comment.

Updated

5 years ago
Priority: -- → P2
Whiteboard: bug
Whiteboard: bug → [type:bug]
Depends on: 862003
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.