Skip to content

代码块不换行输入导致块元数据暴露并出现运行时异常 #3399

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Zuoqiu-Yingyi opened this issue Nov 13, 2021 · 0 comments
Closed
Assignees
Labels
Milestone

Comments

@Zuoqiu-Yingyi
Copy link
Contributor

描述问题 Describe the problem

使用 ``` 不换行输入一个代码块并回车, 会导致块元数据暴露并出现运行时异常, 如下所示

``` content ```

期待的结果 Expected result

在代码块中渲染输入的文本.

截屏或者录屏演示 Screenshot or screen recording presentation

思源笔记-bug反馈-04

版本环境 Version environment

  • Version: 1.5.1
  • Operating system:
OS 名称:          Microsoft Windows 10 企业版
OS 版本:          10.0.19043 暂缺 Build 19043
OS 制造商:        Microsoft Corporation
OS 配置:          独立工作站
OS 构建类型:      Multiprocessor Free

日志文件 Log File

I 2021/11/13 22:20:11 working.go:94: 
      ___                                   ___           ___           ___
     /  /\        ___           ___        /__/\         /  /\         /__/\
    /  /:/_      /  /\         /__/|       \  \:\       /  /::\        \  \:\
   /  /:/ /\    /  /:/        |  |:|        \  \:\     /  /:/\:\        \  \:\
  /  /:/ /::\  /__/::\        |  |:|    ___  \  \:\   /  /:/~/::\   _____\__\:\
 /__/:/ /:/\:\ \__\/\:\__   __|__|:|   /__/\  \__\:\ /__/:/ /:/\:\ /__/::::::::\
 \  \:\/:/~/:/    \  \:\/\ /__/::::\   \  \:\ /  /:/ \  \:\/:/__\/ \  \:\~~\~~\/
  \  \::/ /:/      \__\::/    ~\~~\:\   \  \:\  /:/   \  \::/       \  \:\  ~~~
   \__\/ /:/       /__/:/       \  \:\   \  \:\/:/     \  \:\        \  \:\
     /__/:/        \__\/         \__\/    \  \::/       \  \:\        \  \:\
     \__\/                                 \__\/         \__\/         \__\/
I 2021/11/13 22:20:13 runtime.go:57: kernel is booting:
    * ver [1.5.1]
    * arch [amd64]
    * runtime mode [prod]
    * working directory [D:\ProgramData\Scoop\scoop\apps\siyuan\current\resources]
    * read only [false]
    * container [std]
    * database [ver=20211022]
    * workspace directory [D:\Notebook\Siyuan\test\, data 81 MB]
    * rsync [version 3.2.4dev  protocol version 31]
    * pandoc [pandoc.exe 2.13]
I 2021/11/13 22:20:13 conf.go:186: using network proxy [socks5://127.0.0.1:12345]
I 2021/11/13 22:20:13 conf.go:252: local serve path [http://192.168.1.101:6806]
I 2021/11/13 22:20:13 database.go:135: initialized database tables
I 2021/11/13 22:20:13 database.go:89: reinitialized database [D:\Notebook\Siyuan\test\temp\siyuan.db]
I 2021/11/13 22:20:13 conf.go:455: pre-init database size [4.1 kB]
I 2021/11/13 22:20:13 serve.go:68: kernel is booting [http://127.0.0.1:6806]
I 2021/11/13 22:20:14 box.go:495: rebuilt database for notebook [20210808180117-czj9bvb] in [0.50s], tree stat [count=46, size=854 kB]
I 2021/11/13 22:20:14 box.go:495: rebuilt database for notebook [20211017140545-7932gwv] in [0.09s], tree stat [count=4, size=575 kB]
I 2021/11/13 22:20:14 box.go:495: rebuilt database for notebook [20211019113818-oqlx670] in [0.01s], tree stat [count=6, size=8.2 kB]
I 2021/11/13 22:20:14 conf.go:471: post-init database size [1.9 MB], tree stat [count=56, size=1.4 MB]
I 2021/11/13 22:20:15 working.go:112: kernel booted
E 2021/11/13 22:27:13 transaction.go:626: get node [20211113222246-1x68f63] in tree [20211108124519-6y0h20r] failed
@88250 88250 added the Bug label Nov 13, 2021
@88250 88250 added this to the 1.5.2 milestone Nov 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants