diff --git a/core/modules/system/system.install b/core/modules/system/system.install
index cfa3d0a..fc5d99a 100644
--- a/core/modules/system/system.install
+++ b/core/modules/system/system.install
@@ -362,11 +362,18 @@ function system_requirements($phase) {
// Get cron key.
$cron_key = \Drupal::state()->get('system.cron_key');
+ // Create inline Twig template.
$template = <<<'TWIG'
-{% if run_warning %}{% trans %}Cron has not run recently. For more information, see the online handbook entry for configuring cron jobs.{% endtrans %} {% endif %}{% trans %}You can run cron manually.{% endtrans %}
-{% trans %}To run cron from outside the site, go to {{ cron_outside|passthrough }}.{% endtrans %}
+ {%- set space = ' ' %}
+ {%- if run_warning %}
+ {%- trans %}Cron has not run recently.{% endtrans %}{{ space }}
+ {%- trans %}For more information, see the online handbook entry for configuring cron jobs.{% endtrans %}{{ space }}
+ {%- endif %}
+ {%- trans %}You can run cron manually.{% endtrans %}{{ space }}
+ {%- trans %}To run cron from outside the site, go to {{ cron_outside|passthrough }}.{% endtrans %}
TWIG;
+ // Create cron description.
$description = array(
'#type' => 'inline_template',
'#template' => $template,
@@ -378,6 +385,7 @@ function system_requirements($phase) {
),
);
+ // Set cron requirements.
$requirements['cron'] = array(
'title' => t('Cron maintenance tasks'),
'severity' => $severity,