gitea/modules/highlight
zeripath d89029ebac
Ensure empty lines are copiable and final new line too (#16678) (#16692)
Backport #16678

When files are highlighted the newline character needs to be added in a whitespace
compliant mode. Also ensure the final empty newline is rendered.

Fix #16434

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-08-15 05:39:23 +02:00
..
highlight.go Ensure empty lines are copiable and final new line too (#16678) (#16692) 2021-08-15 05:39:23 +02:00
highlight_test.go Ensure empty lines are copiable and final new line too (#16678) (#16692) 2021-08-15 05:39:23 +02:00