summaryrefslogtreecommitdiff
path: root/lib/api/notes.rb
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2015-09-10 17:45:59 +0000
committerRobert Schilling <rschilling@student.tugraz.at>2015-09-10 17:45:59 +0000
commitb8c05a069b3204bf7ff5074d1ba747bd1d65fcc2 (patch)
tree6f35abcf4280115417eb5a2c7d3b52054d5a67a8 /lib/api/notes.rb
parent0a2c7fcc648c83402bae70c598d674817a78bc84 (diff)
parent9d3344adbbfc84ef8abc96366bdfa695293cd6c0 (diff)
downloadgitlab-ce-b8c05a069b3204bf7ff5074d1ba747bd1d65fcc2.tar.gz
Merge branch 'rescue-syntax-highlighting-errors' into 'master'
Gracefully handle errors in syntax highlighting by leaving the block unformatted A bug in Rouge caused an Exception: ```undefined method `sub' for :Literal:Symbol``` That caused https://gitlab.com/embeddable-common-lisp/ecl/issues/156 to hit Error 500 and fail to display. If a failure occurs, just render the text as preformatted. Closes #2433 See merge request !1274
Diffstat (limited to 'lib/api/notes.rb')
0 files changed, 0 insertions, 0 deletions