0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 06:44:18 +01:00
gitea/public
Monty Taylor 44d6a904d3 Support n as a line highlight prefix (#5987)
We're working on rolling out gitea as a replacement for a fairly
large cgit installation. Part of this involves a metric ton of
mod_rewrite rules so that links people have out in the wild will
still work. Unfortunately, cgit uses #n1 in the url to indicate
a single line highlight, which doesn't get passed to the server
and therefore can't be rewritten.

We've got a local workaround by shoving a script block into a
custom header template, but thought it might be nicer to upstream
a simple patch to support #n as a prefix for single line highlights.
(luckily for simplicity, cgit does not support ranges)

Signed-off-by: Monty Taylor <mordred@inaugust.com>
2019-02-06 21:25:23 -05:00
..
css UI: Dashboard tweaks (#5974) 2019-02-06 07:09:13 +00:00
img Discord Oauth2 support (#4476) 2019-01-13 14:06:22 -05:00
js Support n as a line highlight prefix (#5987) 2019-02-06 21:25:23 -05:00
less UI: Dashboard tweaks (#5974) 2019-02-06 07:09:13 +00:00
vendor Refactor heatmap to vue component (#5401) 2018-11-27 10:36:54 +01:00