Skip to content
Snippets Groups Projects
Verified Commit e65cc2e4 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3422222 by gorkagr, mstrelan, smustgrave: Wrong return type in...

Issue #3422222 by gorkagr, mstrelan, smustgrave: Wrong return type in Renderer::ensureMarkupIsSafe()
parent 4d5abf7f
No related branches found
No related tags found
No related merge requests found
......@@ -810,10 +810,11 @@ protected function xssFilterAdminIfUnsafe($string) {
* @param array $elements
* A render array with #markup set.
*
* @return \Drupal\Component\Render\MarkupInterface|string
* The escaped markup wrapped in a Markup object. If $elements['#markup']
* is an instance of \Drupal\Component\Render\MarkupInterface, it won't be
* escaped or filtered again.
* @return array
* The given array with the escaped markup wrapped in a Markup object.
* If $elements['#markup'] is an instance of
* \Drupal\Component\Render\MarkupInterface, it won't be escaped or filtered
* again.
*
* @see \Drupal\Component\Utility\Html::escape()
* @see \Drupal\Component\Utility\Xss::filter()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment