Commit 6ddf4567 authored by Riyad Preukschas's avatar Riyad Preukschas

Don't escape Html in patches

Fixes #2036
parent 9e8aadb0
......@@ -26,7 +26,7 @@ class CommitController < ProjectResourceController
end
end
format.patch
format.patch { render text: @commit.to_patch }
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment