What happened?
When the value of property "title" in yaml front matter is tailed with a space, some several issues will occur:
- The source file can be viewed in external app, but the page content gets empty when it's opened in logseq.
- It will generate two separate pages when you try to open/click the backlink without a tailing space, and neither of them has valid content.
- Before I knew what's caused this problem, I've tried to reindex the whole graph, and it just delete the actual content.
Reproduce the Bug
- Just open a markdown source file, and tail a space to the "title" property on its yaml front matter.
- Then try to search/open it in logseq, but bug will be reproduced.
Expected Behavior
Just ignore the tailed space in the title or trim it automatically, but not delete the whole content.
Screenshots
No response
Desktop Platform Information
- MacOS 10.15.7
- logseq 0.6.4
Mobile Platform Information
No response
Additional Context
No response
What happened?
When the value of property "title" in yaml front matter is tailed with a space, some several issues will occur:
Reproduce the Bug
Expected Behavior
Just ignore the tailed space in the title or trim it automatically, but not delete the whole content.
Screenshots
No response
Desktop Platform Information
Mobile Platform Information
No response
Additional Context
No response