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

发布内容包含超链接,编辑后,超链接时效,最后的</a>没了 #51

Open
11195666 opened this issue Aug 5, 2022 · 8 comments

Comments

@11195666
Copy link

11195666 commented Aug 5, 2022

发布内容包含超链接,编辑后,超链接失效,前面的<a 转义成字符串了

@kasuganosoras
Copy link
Owner

可能你的账户没有编辑 HTML 的权限,你可以尝试在 config.php 里设置 enable_safemodefalse 试试。
注意: 如果站点开放了注册,以上设置可能导致 XSS 注入,但如果你是自己用的话就没什么关系。

@11195666
Copy link
Author

11195666 commented Aug 7, 2022

可能你的账户没有编辑 HTML 的权限,你可以尝试在 config.php 里设置 enable_safemodefalse 试试。 注意: 如果站点开放了注册,以上设置可能导致 XSS 注入,但如果你是自己用的话就没什么关系。

已经改为false了还是不可以。编辑过后发布,还是会导致元素不生效

@kasuganosoras
Copy link
Owner

能提供一段可以复现此问题的文本吗?
我在本地测试没有办法复现此问题。

@11195666

This comment was marked as duplicate.

@kasuganosoras
Copy link
Owner

image

在最新提交的 1.0.180 版本中测试没有问题,可以尝试更新一下

@11195666
Copy link
Author

11195666 commented Aug 7, 2022

image

在最新提交的 1.0.180 版本中测试没有问题,可以尝试更新一下

仓库最新的只显示1.0.177

@kasuganosoras
Copy link
Owner

直接 clone 或者 pull 一下代码,因为还有些东西没改完,暂时没有发新的 Release

@zurica2013
Copy link

可能你的账户没有编辑 HTML 的权限,你可以尝试在 config.php 里设置 enable_safemodefalse 试试。 注意: 如果站点开放了注册,以上设置可能导致 XSS 注入,但如果你是自己用的话就没什么关系。

碰到一样的问题,普通用户的图片链接无法解析。关闭安全模式后可以解决,希望能有更好的兼顾方案~~

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