summaryrefslogtreecommitdiff
path: root/app/views/ci
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-09-26 11:43:55 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-09-26 11:48:43 +0200
commit528b988aea44cc1016ee5a3c09ce0d383114e395 (patch)
tree83fe8450587dc108a794b71e600e728029791eeb /app/views/ci
parentfca610e5cbf5382f3814120227a0ca11440c8a9f (diff)
downloadgitlab-ce-528b988aea44cc1016ee5a3c09ce0d383114e395.tar.gz
Escape HTML nodes in builds commands in ci linter
Diffstat (limited to 'app/views/ci')
-rw-r--r--app/views/ci/lints/_create.html.haml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/ci/lints/_create.html.haml b/app/views/ci/lints/_create.html.haml
index f7875e68b7e..1545c00af45 100644
--- a/app/views/ci/lints/_create.html.haml
+++ b/app/views/ci/lints/_create.html.haml
@@ -16,8 +16,7 @@
%tr
%td #{stage.capitalize} Job - #{build[:name]}
%td
- %pre
- = simple_format build[:commands]
+ %pre= build[:commands]
%br
%b Tag list: