[UI] Code highlight not displaying final line break
Summary
The code highlights section (file browsing / Merge Requests / etc)
Steps to reproduce
Create a simple file (here PHP) with a final line break
<?php
class Foo
{
public function Bar()
{
}
}
What is the current bug behavior?
Gitlab UI not displaying the final line break
What is the expected correct behavior?
Display final line breaks in UI.
In PHP there are PSR2 standard which said All PHP files MUST end with a single blank line.
Sometimes in MR we have to check this manually and we can not check if this point is right or not.
Source: http://www.php-fig.org/psr/psr-2/#files