diff options
author | Lukas Winkler <git@lw1.at> | 2021-05-03 23:04:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-03 23:04:10 +0300 |
commit | 104135aebddd112567f5ec17b8f11e757c7e57f2 (patch) | |
tree | 899cab0d00cc5acc218d5c20256f582777649e9e /plugins/Installation | |
parent | 2670f6508151c52ced827f1c3bde9e16f52af353 (diff) |
no links in copy-paste system check (#17515)
Diffstat (limited to 'plugins/Installation')
-rw-r--r-- | plugins/Installation/templates/_systemCheckSection.twig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Installation/templates/_systemCheckSection.twig b/plugins/Installation/templates/_systemCheckSection.twig index f23cb09c1f..c6c752312f 100644 --- a/plugins/Installation/templates/_systemCheckSection.twig +++ b/plugins/Installation/templates/_systemCheckSection.twig @@ -17,11 +17,11 @@ #### {{ result.label }}: {% for item in result.items -%} -{%- if item.status == error -%} ⚠ Error: {{ item.comment|anonymiseSystemInfo }}{% elseif item.status == warning %} ⚠ Warning: {{ item.comment|anonymiseSystemInfo }}{% elseif item.status == informational %} {{ item.comment|anonymiseSystemInfo }}{% else %} ✔ {{ item.comment|anonymiseSystemInfo }}{% endif -%} +{%- if item.status == error -%} ⚠ Error: {{ item.comment|anonymiseSystemInfo|striptags('<br><p><strong><code>') }}{% elseif item.status == warning %} ⚠ Warning: {{ item.comment|anonymiseSystemInfo|striptags('<br><p><strong><code>') }}{% elseif item.status == informational %} {{ item.comment|anonymiseSystemInfo|striptags('<br><p><strong><code>') }}{% else %} ✔ {{ item.comment|anonymiseSystemInfo|striptags('<br><p><strong><code>') }}{% endif -%} {%- endfor %} {% if result.longErrorMessage -%} -{{ result.longErrorMessage }} +{{ result.longErrorMessage|striptags('<br><p><strong><code>') }} {%- endif -%} {%- endfor -%} {%- endmacro %} |