Skip to content

数据库 markdown 字段与 API getBlockKramdown 中行级元素 IAL 前存在零宽空格 #6712

Closed
@Zuoqiu-Yingyi

Description

@Zuoqiu-Yingyi

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

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

该问题是否能够在默认主题(daylight/midnight)下重现? Can the issue be reproduced with the default theme (daylight/midnight)?

  • 我能够在默认主题下重现该问题
    I was able to reproduce the issue with the default theme

描述问题 Describe the problem

数据库 markdown 字段与 API api/block/getBlockKramdown 返回值中行内元素 IAL 前存在零宽空格, 如下所示
**foo**\u200b{: style="color: var(--b3-font-color8);"}

导致原样更新块时行内元素 IAL 无法正常解析

期待的结果 Expected result

移除数据库 markdown 字段与 API api/block/getBlockKramdown 返回值中行内元素 IAL 前的零宽空格, 如下所示
**foo**{: style="color: var(--b3-font-color8);"}

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

No response

版本环境 Version environment

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

日志文件 Log file

无有效信息输出

更多信息 More information

No response

Activity

self-assigned this
on Nov 25, 2022
added this to the 2.5.2 milestone on Nov 25, 2022
changed the title [-]数据库 `markdown` 字段与 API `getBlockKramdown` 中行内元素 IAL 前存在零宽空格[/-] [+]数据库 `markdown` 字段与 API `getBlockKramdown` 中行级元素 IAL 前存在零宽空格[/+] on Nov 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250@Zuoqiu-Yingyi

      Issue actions

        数据库 `markdown` 字段与 API `getBlockKramdown` 中行级元素 IAL 前存在零宽空格 · Issue #6712 · siyuan-note/siyuan