Line return after italics


(Dalans) #1

I think it is odd
you need an extra double space here

vs

I think it is odd you don’t need an
extra double space here

I think it is *odd*
you need an extra double space here

vs 

I think it is *odd* you don't need an
extra double space here

(Sam Saffron) #2

Confirmed, this is a markdown.js bug @eviltrout


(Jeff Atwood) #3

Are you sure? Remember that return as newline is not part of the Markdown spec.


(Sam Saffron) #4

It is odd
that this does not work
but this
does

It is **odd**
that this does not *work*
but this 
does 

I know this
works, but teaching people about magic double space at the end is confusing.


(Jeff Atwood) #5

Just not sure it is markdown.js bug per se, unless the project formally supports the non standard CRLF means linebreak semantics.


(Sam Saffron) #6

Fixed as of:

https://github.com/discourse/discourse/commit/b8357aa90af92da75325ea0a5f5ba43430286bee


(Sam Saffron) #7

status
completed

status
completed

status
completed

COMPLETE


(Jeff Atwood) #8

WELCOME TO THE WIDE, WIDE WORLD OF MARKDOWN

 


(Sam Saffron) #10