Skip to content

只填写标题的超链接的悬浮提示会显示 null #14317

Closed
@TCOTC

Description

@TCOTC

https://ld246.com/article/1741492345781

去掉 null 和中间的换行:

video.webm

Activity

Vanessa219

Vanessa219 commented on Mar 9, 2025

@Vanessa219
Member

3.1.25

added a commit that references this issue on Mar 9, 2025
TCOTC

TCOTC commented on Mar 9, 2025

@TCOTC
ContributorAuthor

标签好像不太对,我感觉应该是这样:

tip = (tip ? (tip + '<div class="fn__hr"></div>') : "") + "<span>" + title + "</span>";

或者:

tip = tip ? tip + '<div class="fn__hr"></div><span>' + title + "</span>" : title;
added a commit that references this issue on Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @Vanessa219@TCOTC

      Issue actions

        只填写标题的超链接的悬浮提示会显示 null · Issue #14317 · siyuan-note/siyuan