felipeochoa / rjsx-mode

A JSX major mode for Emacs
https://github.com/felipeochoa/rjsx-mode
MIT License
639 stars 32 forks source link

Uncommenting line with url removes // from url #102

Open mahinshaw opened 5 years ago

mahinshaw commented 5 years ago

When I uncomment a line like // http://example.com I am left with http:example.com. The expected output would be http://example.com. This does not happen when I use js2-jsx-mode. It is simple to reproduce inside a scratch buffer with rjsx-mode enabled.

david135 commented 4 years ago

I've noticed this too. It'd be great to have single-line comments (// etc. etc.) work smoothly.

cjauvin commented 4 years ago

I was just about to create an issue for this. I'm working with Xpath expressions and this bug is causing me some trouble.