Editor doesn't add new line when it finishes with a smiley or a URL


(Camille Roux) #1

Here is examples:

Line 1
Line 2

Line 1 :smile:
Line 2

Line 1 http://discourse.org
Line 2

Line 1 test
Line 2

Line 1
Line 2

Line 1
Line 2


(Mittineague) #2

I’ve noticed the same effect.

From what I understand, this is how Markdown is supposed to work. i.e. it needs two spaces and a newline after any markdown for a newline to be rendered.

I am now used to “working with it”. But I can’t help but think this is going to confuse those unfamilliar with Markdown and I think some kind of “help” accessed via the post edit panel would help (if members actually read it)


(Jeff Atwood) #3

Probably something we should try to fix @eviltrout, has to do with auto-linebreaks – which are not the default in Markdown.


(Sam Saffron) #4

Yeah this
is a bug

Yeah **this**
is a bug

(Jeff Atwood) #5

This is also worth addressing this week, if we can, @eviltrout.


(Sam Saffron) #6

This now
works

as does
this

and
this

and :family:
does

But, this does not
:family:

now even this works

<strike>But, this does not
:family:</strike>

Will leave this open till its fixed, can’t really easily add a pending test cause its emoji related which is not loaded.

cc @eviltrout


(Sam Saffron) #7

This topic is now closed. New replies are no longer allowed.

Fixed now thanks @eviltrout