Skip to content
Snippets Groups Projects
Verified Commit 983d2909 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()

(cherry picked from commit e65cc2e4)
parent da6376b9
No related branches found
Tags 1.0.0-alpha19
8 merge requests!8376Drupal views: adding more granularity to the ‘use ajax’ functionality,!8300Issue #3443586 View area displays even when parent view has no results.,!7567Issue #3153723 by quietone, Hardik_Patel_12: Change the scaffolding...,!7565Issue #3153723 by quietone, Hardik_Patel_12: Change the scaffolding...,!7509Change label "Block description" to "Block type",!7344Issue #3292350 by O'Briat, KlemenDEV, hswong3i, smustgrave, quietone: Update...,!6922Issue #3412959 by quietone, smustgrave, longwave: Fix 12 'un' words,!6848Issue #3417553 by longwave: Remove withConsecutive() in CacheCollectorTest
......@@ -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