source: trunk/client/inc/hpdf5/spipu/html2pdf/src/Tag/Html/U.php@ 347

Last change on this file since 347 was 347, checked in by roby, 3 years ago

Aggiornamento per compatibilità con php7.4

File size: 627 bytes
Line 
1<?php
2/**
3 * Html2Pdf Library - Tag class
4 *
5 * HTML => PDF converter
6 * distributed under the OSL-3.0 License
7 *
8 * @package Html2pdf
9 * @author Laurent MINGUET <webmaster@html2pdf.fr>
10 * @copyright 2017 Laurent MINGUET
11 */
12namespace Spipu\Html2Pdf\Tag\Html;
13
14use Spipu\Html2Pdf\Tag\AbstractHtmlTag;
15
16/**
17 * Tag U
18 */
19class U extends AbstractHtmlTag
20{
21 /**
22 * @inheritdoc
23 */
24 public function getName()
25 {
26 return 'u';
27 }
28
29 /**
30 * @inheritdoc
31 */
32 protected function overrideStyles()
33 {
34 $this->parsingCss->value['font-underline'] = true;
35
36 return $this;
37 }
38}
Note: See TracBrowser for help on using the repository browser.