MacDownApp/macdown

Render newline literally doesn't work randomly

Open

#1,060 建立於 2019年3月27日

在 GitHub 查看
 (4 留言) (0 反應) (0 負責人)Objective-C (7,686 star) (930 fork)batch import
bughelp wanted

描述

Version: Version 0.7.1 (870)

Hi, Render newline literally doesn't work randomly. I am not sure how to reproduce this problem. It just seems Macdown doesn't like some of my files. Render newline literally works for most of files and does not work for some of files. The issue frequency is not very rare, like 10% of time? Just a guess. You can have a look at the screenshots:

Screen Shot 2019-03-27 at 16 28 04

Edited: For the file which doesn't work, if I uncheck/disable and then check/enable again the Render newline literally option in the Preference, it will work for now. But if I close the file or quit Macdown and reopen it, the newline can not be rendered correctly again. Thus I have to disable/enable the option everytime for the broken behavior files. I am very curious how this can happen to just some of the files. This really doesn't make sense to me.

Please check the following screenshot for more detail. From the terminal diff command, you can see that test.md and test2.md have the exact same content:

Screen Shot 2019-03-27 at 16 42 35

貢獻者指南