Skip to content

列表项内容为空时数据库表 blocks 的 markdown 字段缺少换行 #6206

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
1 task done
jhzerone opened this issue Oct 14, 2022 · 7 comments
Closed
1 task done
Assignees
Labels
Milestone

Comments

@jhzerone
Copy link

该问题是否已经被报告过了? Is there an existing issue for this?

  • 我已经搜索了 Issues,没有发现类似问题
    I have searched the existing issues

描述问题 Describe the problem

无序列表空行或者只有空格行markdown数据异常
image
拉取的markdown
image

期待的结果 Expected result

期望能和其他内容的无序列表缩进格式一致

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

No response

版本环境 Version environment

- Version: 2.4
- Operating System: win10
- Browser (if used):

日志文件 Log file

更多信息 More information

No response

@88250
Copy link
Member

88250 commented Oct 14, 2022

抱歉我没看明白你指的异常在哪里,麻烦补充说明。

@88250
Copy link
Member

88250 commented Oct 15, 2022

我先关闭了,如果还有问题请继续跟帖,谢谢 🙏

@88250 88250 closed this as completed Oct 15, 2022
@jhzerone
Copy link
Author

抱歉, 是我没表示清楚, 是markdown的格式不对了
比如下图的markdown内容是带\n和缩进的
image
image
但是如果这里的内容1, 2 是空格的话, markdown格式会变成单行.

@88250
Copy link
Member

88250 commented Oct 17, 2022

请贴一下 Markdown 原文文本。

@jhzerone
Copy link
Author

我是在思源里面编辑, 然后通过api获取的markdown内容

@88250
Copy link
Member

88250 commented Oct 17, 2022

哪一个 API?

@jhzerone
Copy link
Author

/api/query/sql select * from blocks where id = 'blockid'

@88250 88250 self-assigned this Oct 17, 2022
@88250 88250 added the Bug label Oct 17, 2022
@88250 88250 changed the title 无序列表空行或者只有空格行markdown数据异常 无序列表空行时 Markdown 字段缺少换行 Oct 17, 2022
@88250 88250 added this to the 2.4.2 milestone Oct 17, 2022
@88250 88250 reopened this Oct 17, 2022
@88250 88250 changed the title 无序列表空行时 Markdown 字段缺少换行 列表项内容为空时数据库表 blocks 的 markdown 字段缺少换行 Oct 17, 2022
88250 added a commit to 88250/lute that referenced this issue Oct 17, 2022

Unverified

This user has not yet uploaded their public signing key.
88250 added a commit to 88250/lute that referenced this issue Oct 17, 2022

Unverified

This user has not yet uploaded their public signing key.
88250 added a commit that referenced this issue Oct 17, 2022

Unverified

This user has not yet uploaded their public signing key.
@88250 88250 closed this as completed Oct 17, 2022
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

2 participants