From d70f9ddc1703a8d417abfea7b5de4f09d60ae099 Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Fri, 23 Jan 2015 12:22:45 +0000
Subject: [PATCH] Issue #2398925 by idebr: Editor Image dialog: alt text
 required_error does not close <em> tag

---
 core/modules/editor/src/Form/EditorImageDialog.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/modules/editor/src/Form/EditorImageDialog.php b/core/modules/editor/src/Form/EditorImageDialog.php
index 80d63fd1c049..8972b1b264af 100644
--- a/core/modules/editor/src/Form/EditorImageDialog.php
+++ b/core/modules/editor/src/Form/EditorImageDialog.php
@@ -111,7 +111,7 @@ public function buildForm(array $form, FormStateInterface $form_state, FilterFor
       '#placeholder' => $this->t('Short description for the visually impaired'),
       '#type' => 'textfield',
       '#required' => TRUE,
-      '#required_error' => $this->t('Alternative text is required.<br><em>(Only in rare cases should this be left empty. To create empty alternative text, enter <code>""</code> — two double quotes without any content).'),
+      '#required_error' => $this->t('Alternative text is required.<br />(Only in rare cases should this be left empty. To create empty alternative text, enter <code>""</code> — two double quotes without any content).'),
       '#default_value' => $alt,
       '#maxlength' => 2048,
     );
-- 
GitLab