@@ -24,7 +24,7 @@ |
||
24 | 24 | $this->pdf->setFont( 'dejavusans', '', 10 ); |
25 | 25 | |
26 | 26 | $vmargin = [ |
27 | - 'h1' => [ // HTML tag |
|
27 | + 'h1' => [// HTML tag |
|
28 | 28 | 0 => ['h' => 1.5, 'n' => 0], // space before = h * n |
29 | 29 | 1 => ['h' => 1.5, 'n' => 3] // space after = h * n |
30 | 30 | ], |
@@ -43,7 +43,7 @@ discard block |
||
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 |
||
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 ) : ?> |