yydcdut / RxMarkdown

:fax:Markdown for Android, supports TextView && EditText (Live Preview), supports code high light.
749 stars 93 forks source link

The library doesn't remove the initial spaces #31

Open cesards opened 7 years ago

cesards commented 7 years ago

Hi!!

First of all, great work!

I realised that the library doesn't print spans correctly if there are spaces after line breaks. If you work with a rich editor nowadays, it removes the spaces and formats the code. Should this library contain this behaviour? I don't know if it's a bug or a feature.

Thanks.

cesards commented 7 years ago

For exampole, if we write:

1. This is one
 2. This is two
 3. This is three.

It won't print something like: screen shot 2017-04-03 at 12 14 08

yydcdut commented 7 years ago

Thank you! I forget considering that situation. I will fix recently.

cesards commented 7 years ago

👍