Completed
Pull Request — master (#109)
by
unknown
02:27
created
client/html/templates/catalog/detail/header-standard.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 		<?php endforeach; ?>
44 44
 
45 45
 		<?php foreach( $this->detailProductItem->getRefItems( 'text', 'meta-description', 'default' ) as $textItem ) : ?>
46
-			<meta name="description" content="<?= $enc->attr( trim(html_entity_decode(strip_tags( $textItem->getContent() ))) ) ?>" />
46
+			<meta name="description" content="<?= $enc->attr( trim( html_entity_decode( strip_tags( $textItem->getContent() ) ) ) ) ?>" />
47 47
 		<?php endforeach; ?>
48 48
 
49 49
 		<?php $params = array_diff_key( ['d_name' => $this->detailProductItem->getName( 'url' ), 'd_prodid' => $this->detailProductItem->getId(), 'd_pos' => ''], $detailFilter ); ?>
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 		<meta property="og:url" content="<?= $enc->attr( $this->url( $detailTarget, $detailController, $detailAction, $params, [], $detailConfig + ['absoluteUri' => true] ) ); ?>" />
55 55
 
56 56
 		<?php foreach( $this->detailProductItem->getRefItems( 'text', 'short', 'default' ) as $textItem ) : ?>
57
-			<meta property="og:description" content="<?= $enc->attr( trim(html_entity_decode(strip_tags( $textItem->getContent() ))) ) ?>" />
57
+			<meta property="og:description" content="<?= $enc->attr( trim( html_entity_decode( strip_tags( $textItem->getContent() ) ) ) ) ?>" />
58 58
 		<?php endforeach ?>
59 59
 
60 60
 		<?php foreach( $this->detailProductItem->getRefItems( 'media', 'default', 'default' ) as $mediaItem ) : ?>
Please login to merge, or discard this patch.