Cross-repo commit reference gobbles up whitespace #22666
Labels
issue/confirmed
Issue has been reviewed and confirmed to be present or accepted to be implemented
type/bug
Description
#22645 introduced cross-repository commit links. However, it has a bug in that whitespace around the reference is not rendered.
This input:
Produces this output:
As you can see, there should be a space between
by<a
and also between</a>at
.Gitea Version
1b53a9e
Can you reproduce the bug on the Gitea demo site?
No, demo site is too old, doesn't have this feature yet. If it gets upgraded, then check https://try.gitea.io/drSybren/demo/issues/2
Screenshots
How are you running Gitea?
Self-built from Git.
The text was updated successfully, but these errors were encountered: