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

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 

Signed-off-by: Andrew Thornton <art27@cantab.net>
..
highlight.go Ensure empty lines are copiable and final new line too () ()
highlight_test.go Ensure empty lines are copiable and final new line too () ()