@@ -113,7 +113,7 @@ function ($errorNumber, $errorString) {
113
113
$ this ->escapeText ($ domDocument );
114
114
$ this ->escapeAttributeValues ($ domDocument );
115
115
116
- $ result = mb_convert_encoding ($ domDocument ->saveHTML (), ' UTF-8 ' , 'HTML-ENTITIES ' );
116
+ $ result = html_entity_decode ($ domDocument ->saveHTML (), ENT_QUOTES , 'UTF-8 ' );
117
117
preg_match ('/<body id=" ' . $ wrapperElementId . '">(.+)<\/body><\/html>$/si ' , $ result , $ matches );
118
118
return !empty ($ matches ) ? $ matches [1 ] : '' ;
119
119
} else {
@@ -346,6 +346,7 @@ public function escapeCss($string)
346
346
* @param string $quote
347
347
* @return string|array
348
348
* @deprecated 101.0.0
349
+ * @see 6729b6e01368248abc33300208eb292c95050203
349
350
*/
350
351
public function escapeJsQuote ($ data , $ quote = '\'' )
351
352
{
@@ -366,6 +367,7 @@ public function escapeJsQuote($data, $quote = '\'')
366
367
* @param string $data
367
368
* @return string
368
369
* @deprecated 101.0.0
370
+ * @see 6729b6e01368248abc33300208eb292c95050203
369
371
*/
370
372
public function escapeXssInUrl ($ data )
371
373
{
@@ -414,6 +416,7 @@ private function escapeScriptIdentifiers(string $data): string
414
416
* @param bool $addSlashes
415
417
* @return string
416
418
* @deprecated 101.0.0
419
+ * @see 6729b6e01368248abc33300208eb292c95050203
417
420
*/
418
421
public function escapeQuote ($ data , $ addSlashes = false )
419
422
{
@@ -428,6 +431,7 @@ public function escapeQuote($data, $addSlashes = false)
428
431
*
429
432
* @return \Magento\Framework\ZendEscaper
430
433
* @deprecated 101.0.0
434
+ * @see 6729b6e01368248abc33300208eb292c95050203
431
435
*/
432
436
private function getEscaper ()
433
437
{
@@ -443,6 +447,7 @@ private function getEscaper()
443
447
*
444
448
* @return \Psr\Log\LoggerInterface
445
449
* @deprecated 101.0.0
450
+ * @see 6729b6e01368248abc33300208eb292c95050203
446
451
*/
447
452
private function getLogger ()
448
453
{
0 commit comments