Skip to content
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

文档树鼠标悬浮显示的文档备注未转义 #3820

Closed
Zuoqiu-Yingyi opened this issue Jan 14, 2022 · 0 comments
Closed

文档树鼠标悬浮显示的文档备注未转义 #3820

Zuoqiu-Yingyi opened this issue Jan 14, 2022 · 0 comments
Assignees
Labels
Milestone

Comments

@Zuoqiu-Yingyi
Copy link
Contributor

描述问题 Describe the problem

块属性中的备注属性使用转义的换行符, 但是该属性添加到 dom 树中时 _esc_newline_ 未替换

该节点如下所示

<li title="cc-doctype-form 976 B
书签 书签测试
命名 命名测试
别名 别名测试
备注 备注测试1_esc_newline_备注测试2_esc_newline_备注测试3
更新于 1 小时以前
创建于 2021-11-30 01:07:30" data-node-id="20211130010730-v88ctm2" data-name="cc-doctype-form.sy" draggable="true" data-count="0" data-type="navigation-file" class="b3-list-item b3-list-item--hide-action b3-list-item--focus" data-path="/20211009140049-yrm9gjb/20211130010730-v88ctm2.sy">
......
</li>

渲染结果如下所示

image

期待的结果 Expected result

使用空格或换行替换 _esc_newline_

版本环境 Version environment

  • Version: v1.7.1

更多信息 More information

该文档的备注如下所示

备注测试1
备注测试2
备注测试3
@88250 88250 added the Bug label Jan 14, 2022
@88250 88250 self-assigned this Jan 14, 2022
@88250 88250 added this to the 1.7.2 milestone Jan 14, 2022
@88250 88250 changed the title 文档树鼠标悬浮显示的文档备注未将转义换行符移除 文档树鼠标悬浮显示的文档备注未转义 Jan 14, 2022
@88250 88250 closed this as completed Jan 14, 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