Skip to content

图表块的内容在数据库 blockscontent 字段中被转义 #6326

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
Zuoqiu-Yingyi opened this issue Oct 24, 2022 · 2 comments
Closed
1 task done
Assignees
Labels
Milestone

Comments

@Zuoqiu-Yingyi
Copy link
Contributor

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

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

描述问题 Describe the problem

下面是一个 Mermaid 块内容

```mermaid
sequenceDiagram
    Alice->>John: Hello John, how are you?
    loop Every minute
        John-->>Alice: Great!
    end
```

数据库中该块 markdown 字段内容

```mermaid
sequenceDiagram
    Alice->>John: Hello John, how are you?
    loop Every minute
        John-->>Alice: Great!
    end
```

> 字符被转义

期待的结果 Expected result

Mermaid 块的内容在数据库 blocksmarkdown 字段中不被转义

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

No response

版本环境 Version environment

- Version: 2.4.5
- Operating System: 
- Browser (if used):

日志文件 Log file

无有效信息输出

更多信息 More information

No response

@88250 88250 self-assigned this Oct 24, 2022
@88250
Copy link
Member

88250 commented Oct 24, 2022

应该是 content 字段不对吧?

image

@Zuoqiu-Yingyi
Copy link
Contributor Author

应该是 content 字段不对吧?

image

看来我记错了👀

@Zuoqiu-Yingyi Zuoqiu-Yingyi changed the title Mermaid 块的内容在数据库 blocksmarkdown 字段中被转义 Mermaid 块的内容在数据库 blockscontent 字段中被转义 Oct 24, 2022
@88250 88250 added the Bug label Oct 24, 2022
@88250 88250 added this to the 2.4.6 milestone Oct 24, 2022
@88250 88250 changed the title Mermaid 块的内容在数据库 blockscontent 字段中被转义 图表块的内容在数据库 blockscontent 字段中被转义 Oct 24, 2022
@88250 88250 closed this as completed Oct 24, 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