Skip to content

html is copied verbatim to ToC in wiki #36106

@yogo1212

Description

@yogo1212

Description

hi :-)

an element like <a name="jump_here"></a> can add an invisible reference to a document. this also works when placed "in" a title but gitea doesn't seem to render html inside the ToC. because of that, the html code is visible there (it isn't in the document).

an example is attached.

Image

Screenshots

https://demo.gitea.com/yogo1212/wiki-test/wiki/test

Gitea Version

1.24.6

Can you reproduce the bug on the Gitea demo site?

Yes

Operating System

GNU/Linux

Browser Version

firefox 145.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/uiChange the appearance of the Gitea UItype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions