Commit 0d761c41 authored by Nejc Habjan's avatar Nejc Habjan

Render script newlines properly in CI Lint view

parent 97d96efa
......@@ -17,9 +17,9 @@
%tr
%td #{job[:stage].capitalize} Job - #{job[:name]}
%td
%pre= job[:before_script].to_a.join('\n')
%pre= job[:script].to_a.join('\n')
%pre= job[:after_script].to_a.join('\n')
%pre= job[:before_script].to_a.join('<br />')
%pre= job[:script].to_a.join('<br />')
%pre= job[:after_script].to_a.join('<br />')
%br
%b= _("Tag list:")
= job[:tag_list].to_a.join(", ")
......
---
title: 'Render script newlines in CI Lint view'
merge_request: 45087
author: Nejc Habjan
type: fixed
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