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

从网页复制的下划线字符会带不可见的转义符 #12052

Closed
3 tasks done
d13-proto opened this issue Jul 21, 2024 · 2 comments
Closed
3 tasks done

从网页复制的下划线字符会带不可见的转义符 #12052

d13-proto opened this issue Jul 21, 2024 · 2 comments

Comments

@d13-proto
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Can the issue be reproduced with the default theme (daylight/midnight)?

  • I was able to reproduce the issue with the default theme

Could the issue be due to extensions?

  • I've ruled out the possibility that the extension is causing the problem.

Describe the problem

  1. 复制网页中的下划线字符,例如这里的“__”
  2. 粘贴到笔记里,显示为:__
  3. 复制笔记里的 __
  4. 粘贴到其他地方,显示为:\_\_

Expected result

期望从网页复制的下划线字符,复制到其他地方时不带转义符

Screenshot or screen recording presentation

No response

Version environment

- Version: v3.1.1
- Operating System: Windows
- Browser (if used): Firefox

Log file

siyuan-2024-07-22.log

More information

从其他地方复制的下划线字符,不会出现此问题

@TCOTC
Copy link
Contributor

TCOTC commented Jul 22, 2024

#11206

@88250
Copy link
Member

88250 commented Jul 24, 2024

这是正常的,因为 _ 是 Markdown 标记符,如果要显示的话需要加转义 \_

@88250 88250 closed this as completed Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants