Douwe Maan
512bebe21d
Refactor Gitlab::Highlight and fix tests
2016-01-19 14:52:41 +01:00
Rubén Dávila
bb96d63153
New implementation for highlighting diff files. #3945
...
* It is more performant given now we process all the diff file instead
of processing line by line.
* Multiline comments are highlighted correctly.
2015-12-30 00:52:50 -05:00
Rubén Dávila
34657b821a
Add syntax highlighting to diff view. #3945
2015-12-28 18:31:27 -05:00
Stan Hu
15d5dfdb33
Fix diff syntax highlighting
...
Refactored HTML parser to avoid duplication of newline parsing.
Closes #2235
2015-08-10 08:07:26 -07:00
Stan Hu
0abe98f049
Fix multi-line syntax highlighting
...
HTML span elements only apply to a single line, and in the case of multi-line
comments, the highlighting was dropped as a result. Ensure that each line has
the proper styling to fix this.
Closes #1577
2015-07-30 22:37:53 -07:00
Stan Hu
0cd73885e6
Fix git blame syntax highlighting when different commits break up lines
...
Closes #1521
2015-05-27 14:10:58 -07:00