Closed daveliepmann closed 7 years ago
Ugh. Looks like #57. We should try and fix this in ClojureScript because it will pop up with emoji too.
Since it's limited to docstrings, a quick fix might be sufficient to block the conversion (by CodeMirror?) of minus sign to en-dash.
unfortunately, it's not limited to docstrings :(..
I also wasn't able to reproduce the conversion to n-dash, was there a specific order it was typed in?
On Sun, Aug 13, 2017 at 21:14 Dave Liepmann notifications@github.com wrote:
Since it's limited to docstrings, a quick fix might be sufficient to block the conversion (by CodeMirror?) of minus sign to en-dash.
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/mhuebert/maria/issues/81#issuecomment-322061181, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKFZ-8oQOm6vKx2VMz_-THTv3BlhW1zks5sX0srgaJpZM4O1wMG .
-- http://matt.is — Berlin, Germany
I copied from https://gist.github.com/jackrusher/5201340 but I thought the dashification occurred when just typing out the entropy
docstring. Only noticed it on copy-paste outside the editor to here.
Ok. In any case I've submitted a new patch to https://dev.clojure.org/jira/browse/CLJS-1576, so hopefully we won't have to worry about this for long.
On Mon, Aug 14, 2017 at 10:14 AM, Dave Liepmann notifications@github.com wrote:
I copied from https://gist.github.com/jackrusher/5201340 but I thought the dashification occurred when just typing out the entropy docstring. Only noticed it on copy-paste outside the editor to here.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mhuebert/maria/issues/81#issuecomment-322126956, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKFZ2Y06PTIGFoIzqBHu7nQEzUMSN1Vks5sYAIBgaJpZM4O1wMG .
Tracking in #57
This bug is in dev only. Works fine in non-markdown/prod.
If a minus sign exists in the docstring of a function I'd like to
defn
, it will not evaluate:Does not evaluate. Error in console suggests that the minus sign is converted to a dash: