forgejo/modules/highlight
zeripath 23a87a003e
Ensure empty lines are copiable and final new line too ()
* Ensure empty lines are copiable and final new line too

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 

* Add test and ensure spans closed

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-08-14 01:16:56 +02:00
..
highlight.go Ensure empty lines are copiable and final new line too () 2021-08-14 01:16:56 +02:00
highlight_test.go Ensure empty lines are copiable and final new line too () 2021-08-14 01:16:56 +02:00