Skip to content

ueditor超链接保存到数据库中加前缀@的Bug #384

Description

@linghu86

版本:6.0.233
例:
在编辑器中添加超链接
< a href="http://www.baidu.com" target="_blank">百度

post到后台的数据是正常的,但后台应该是对超链接做了某些判断,在链接地址前加了@
符号,结果保存到数据库中:
< a href="@http://www.baidu.com" target="_blank">百度

此时,在前端编辑该内容,取出来的值是:
< a href="/http://www.baidu.com" target="_blank">百度

再次保存,数据库中的值:
< a href="@/http://www.baidu.com" target="_blank">百度

在前端继续编辑该内容,取出来的值是:
< a href="//http://www.baidu.com" target="_blank">百度

就是说,每次都会在原基础上往链接地址前加@符号??是基于什么判断需要加@符号呢?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions