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

[Question] 输入小于号<可以显示,输入大于号>不显示,求助 #882

Open
qq670176019 opened this issue Oct 18, 2023 · 3 comments

Comments

@qq670176019
Copy link

nod-version: 18.13.0
npm-version: 9.6.6
vue-version: 2.6.12

如下,大于号>不显示
image
查看代码,显示如下
image

小于号可以显示
image
查看代码,显示已经被转义
image

配置:xssOptions="false" 也不起作用

求助各位大佬,想问一下这是怎么回事,应该如何配置才能让大于号>可以显示

@qq670176019
Copy link
Author

实际使用时,将数据截取,前边加了个&bnsp; 就可以正常显示大于号了,这是为什么

@xing403
Copy link

xing403 commented Jun 5, 2024

在markdown语法中 > + space 符号会被解析成 blockquote标签, 就像这样:

> this is blackquote label

实际结果为:

this is blackquote label

> 之前加入一个&nbsp; 就不会执行 > 符号会被解析成 blockquote标签的规则

和标题的 #,##... 是一样的

@qq670176019
Copy link
Author

在markdown语法中 > + space 符号会被解析成 blockquote标签, 就像这样:

> this is blackquote label

实际结果为:

this is blackquote label

> 之前加入一个&nbsp; 就不会执行 > 符号会被解析成 blockquote标签的规则

和标题的 #,##... 是一样的

谢谢大佬解答!

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

2 participants