Solomon Victorino 3ee5bc262f fix(ui): handle out-of-bounds end line in code selection (#4788)
- fallback to the last line, preventing TypeError
- add E2E test

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4788
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Solomon Victorino <git@solomonvictorino.com>
Co-committed-by: Solomon Victorino <git@solomonvictorino.com>
2024-08-05 04:45:07 +00:00
..
2024-07-24 21:48:51 +02:00
2023-09-27 04:37:13 +00:00
2024-03-26 19:04:28 +01:00
2024-07-16 14:38:46 +00:00
2023-09-27 04:37:13 +00:00