Commit bdb907c6 authored by Miguel Rincon's avatar Miguel Rincon

Make scripts in lint text in pre blocks wrap

parent 4a5ce587
...@@ -44,13 +44,21 @@ export default { ...@@ -44,13 +44,21 @@ export default {
<template> <template>
<div data-testid="ci-lint-value"> <div data-testid="ci-lint-value">
<pre v-if="scripts.beforeScript.show" data-testid="ci-lint-before-script">{{ <pre
scripts.beforeScript.content v-if="scripts.beforeScript.show"
}}</pre> class="gl-white-space-pre-wrap"
<pre v-if="scripts.script.show" data-testid="ci-lint-script">{{ scripts.script.content }}</pre> data-testid="ci-lint-before-script"
<pre v-if="scripts.afterScript.show" data-testid="ci-lint-after-script">{{ >{{ scripts.beforeScript.content }}</pre
scripts.afterScript.content >
<pre v-if="scripts.script.show" class="gl-white-space-pre-wrap" data-testid="ci-lint-script">{{
scripts.script.content
}}</pre> }}</pre>
<pre
v-if="scripts.afterScript.show"
class="gl-white-space-pre-wrap"
data-testid="ci-lint-after-script"
>{{ scripts.afterScript.content }}</pre
>
<ul class="gl-list-style-none gl-pl-0 gl-mb-0"> <ul class="gl-list-style-none gl-pl-0 gl-mb-0">
<li v-if="tagList"> <li v-if="tagList">
......
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