Update to Drupal 8.1.0. For more information, see https://www.drupal.org/drupal-8.1.0-release-notes
This commit is contained in:
parent
b11a755ba8
commit
c0a0d5a94c
6920 changed files with 64395 additions and 57312 deletions
|
@ -1,10 +1,5 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Contains \Drupal\Component\Utility\Html.
|
||||
*/
|
||||
|
||||
namespace Drupal\Component\Utility;
|
||||
|
||||
/**
|
||||
|
@ -334,7 +329,7 @@ EOD;
|
|||
// Prevent invalid cdata escaping as this would throw a DOM error.
|
||||
// This is the same behavior as found in libxml2.
|
||||
// Related W3C standard: http://www.w3.org/TR/REC-xml/#dt-cdsection
|
||||
// Fix explanation: http://en.wikipedia.org/wiki/CDATA#Nesting
|
||||
// Fix explanation: http://wikipedia.org/wiki/CDATA#Nesting
|
||||
$data = str_replace(']]>', ']]]]><![CDATA[>', $child_node->data);
|
||||
|
||||
$fragment = $node->ownerDocument->createDocumentFragment();
|
||||
|
|
Reference in a new issue