Commit d70f9ddc authored by alexpott's avatar alexpott

Issue #2398925 by idebr: Editor Image dialog: alt text required_error does not close <em> tag

parent 17f5f48b
......@@ -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,
);
......
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