Comment plugin doesn't work #1975

Closed
opened 2013-11-22 01:17:41 +01:00 by marijnh · 3 comments
marijnh commented 2013-11-22 01:17:41 +01:00 (Migrated from gitlab.com)

Try to comment the following line

console.log("//string gets corrupted.");

This results in

console.log("string gets corrupted.");

instead of

//console.log("//string gets corrupted.");
Try to comment the following line ``` javascript console.log("//string gets corrupted."); ``` This results in ``` javascript console.log("string gets corrupted."); ``` instead of ``` javascript //console.log("//string gets corrupted."); ```
marijnh (Migrated from gitlab.com) closed this issue 2013-11-25 16:16:39 +01:00
marijnh commented 2013-12-06 13:55:48 +01:00 (Migrated from gitlab.com)

Thank you for this patch.
Still, doesn't work for the following case:

console.log("/*string gets corrupted.*/");
Thank you for this patch. Still, doesn't work for the following case: ``` javascript console.log("/*string gets corrupted.*/"); ```
marijnh commented 2013-12-09 16:37:52 +01:00 (Migrated from gitlab.com)

Indeed. Should be better with attached patch.

Indeed. Should be better with attached patch.
marijnh commented 2024-04-22 09:21:01 +02:00 (Migrated from gitlab.com)

mentioned in merge request !14249

mentioned in merge request !14249
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
codemirror/codemirror5#1975
No description provided.