MacDownApp/macdown

Render newline literally doesn't work randomly

开放

#1,060 创建于 2019年3月27日

 (4 条评论) (0 个反应) (0 位负责人)Objective-C (930 个派生)batch import
bughelp wanted

仓库指标

星标
 (7,686 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南