diff --git a/core/modules/simpletest/simpletest.install b/core/modules/simpletest/simpletest.install
index 9d8e3c7..9f8dca4 100644
--- a/core/modules/simpletest/simpletest.install
+++ b/core/modules/simpletest/simpletest.install
@@ -71,8 +71,8 @@ function simpletest_requirements($phase) {
       'title' => t('Simpletest site directory'),
       'value' => is_dir(\Drupal::root() . '/' . $site_directory) ? t('Not writable') : t('Missing'),
       'severity' => REQUIREMENT_ERROR,
-      'description' => t('The testing framework requires the !sites-simpletest directory to exist and be writable in order to run tests.', array(
-        '!sites-simpletest' => '<code>./' . String::checkPlain($site_directory) . '</code>',
+      'description' => t('The testing framework requires the %sites-simpletest directory to exist and be writable in order to run tests.', array(
+        '%sites-simpletest' => $site_directory,
       )),
     );
   }
@@ -81,8 +81,8 @@ function simpletest_requirements($phase) {
       'title' => t('Simpletest site directory'),
       'value' => t('Not protected'),
       'severity' => REQUIREMENT_ERROR,
-      'description' => t('The file !file does not exist and could not be created automatically, which poses a security risk. Ensure that the directory is writable.', array(
-        '!file' => '<code>./' . String::checkPlain($site_directory) . '/.htaccess</code>',
+      'description' => t('The file %file does not exist and could not be created automatically, which poses a security risk. Ensure that the directory is writable.', array(
+        '%file' => $site_directory . '/.htaccess',
       )),
     );
   }
