-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Closed
Description
Description
I noticed a bug on the /notifications page in 1.25 where it sometimes renders incorrect div-only links, that when clicked will result in navigation to unstyled pages. HTML of the incorrect pagination:
<div class="center page buttons">
<div class="ui borderless pagination menu">
<a class=" item navigation" href="/notifications?div-only=true&sequence-number=2">
</a>
<a class=" item navigation" href="/notifications?page=1&div-only=true&sequence-number=2">
</a>
<a class="item" href="/notifications?page=1&div-only=true&sequence-number=2">1</a>
<a class="active item">2</a>
<a class="disabled item navigation">
<span class="navigation_label">Next</span>
</a>
<a class="disabled item navigation">
<span class="navigation_label">Last</span>
</a>
</div>
</div>I don't know how to reliably reproduce this yet, it does not happen all the time.
Gitea Version
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
Git Version
No response
Operating System
No response
How are you running Gitea?
self-compiled
Database
MySQL/MariaDB
Reactions are currently unavailable