ZeroMe icon indicating copy to clipboard operation
ZeroMe copied to clipboard

Reply quotation format bug.

Open leftside2 opened this issue 7 years ago • 9 comments

Original text: > hello >> hi > where are u from? >> I'm from Mars.

Converted result: (after hit Enter)

hello

hi where are u from? I'm from Mars.

To bypass the bug: > hello >> hi . > where are u from? >> I'm from Mars.

leftside2 avatar Mar 09 '18 01:03 leftside2

I don't think this is a bug. New lines always go into the blockquote unless there's two new lines - I believe this is in the CommonMark spec, and GitHub also behaves this way. For example:

> test
still inside blockquote

will have that second line still inside the blockquote. Whereas:

> test

not inside blockquote

Putting two new lines will make the line not inside the blockquote.

In your case, you only have one new line after the first inner blockquote, so all of the lines are inside it.

krixano avatar Mar 09 '18 03:03 krixano

@krixano : So do you mean that if someone think it's ridiculous he has to ask CommonMark staff? Any room for ZeroMe developer has something to do with this matter?

leftside2 avatar Mar 09 '18 04:03 leftside2

@leftside2 I was merely saying it's not a bug but that it's intended as per the standard. Nofish will be able to fix this, but chances are he's using a library for this - so he'll have to change that library.

Also, I disagree that this should be changed based on consistency reasons. Exception: If this were to be changed, then I propose that the rule where two new lines must be after ">" to break off from the blockquote be changed to just one new line (which would mean every line part of the blockquote must have ">"), also for consistency reasons.

However, I don't think this should be changed because ever zite that uses markdown probably acts in the same way as I described. It's better to keep everything consistent, imo.

krixano avatar Mar 09 '18 06:03 krixano

@krixano : I see. :) One question. Plz answer. In ZeroMe, In the new post box, by pressing SHIFT-ENTER you can feed new line without submitting the post. But in the comment box under the post this key combination doesn't work. In my case, I click [reply] button on the other comments to feed the new line and erase the ID part to make use of the new line. How do u do to do this?

leftside2 avatar Mar 09 '18 11:03 leftside2

tab, enter should work. (maybe we should remove the comment sending by enter to make it consistent)

HelloZeroNet avatar Mar 09 '18 11:03 HelloZeroNet

@HelloZeroNet : Thanks! Why don't u put a [?] icon beneath the test editing box?

leftside2 avatar Mar 09 '18 12:03 leftside2

@HelloZeroNet : tab, enter doesn't work. :(

leftside2 avatar Mar 09 '18 13:03 leftside2

I just tried and it's works, to posting on ZeroMe

HelloZeroNet avatar Mar 09 '18 14:03 HelloZeroNet

@HelloZeroNet : I mean the reply edit box, not new post. :)

leftside2 avatar Mar 10 '18 01:03 leftside2