diff options
author | tcit <tcit@tcit.fr> | 2014-07-24 22:01:35 +0200 |
---|---|---|
committer | tcit <tcit@tcit.fr> | 2014-07-24 22:01:35 +0200 |
commit | d07abb5c42a816c94d05c5a1d7a78122e1b8b65c (patch) | |
tree | 38c9be0fba7c530cc1b4b6b43d127c38bfb45e37 /inc/3rdparty/libraries/mpdf/classes/tocontents.php | |
parent | fb9df0c269f36703909b8b259abbdbed29881ecd (diff) | |
download | wallabag-d07abb5c42a816c94d05c5a1d7a78122e1b8b65c.tar.gz wallabag-d07abb5c42a816c94d05c5a1d7a78122e1b8b65c.tar.zst wallabag-d07abb5c42a816c94d05c5a1d7a78122e1b8b65c.zip |
updated mpdf to 5.7.2
Diffstat (limited to 'inc/3rdparty/libraries/mpdf/classes/tocontents.php')
-rw-r--r-- | inc/3rdparty/libraries/mpdf/classes/tocontents.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/inc/3rdparty/libraries/mpdf/classes/tocontents.php b/inc/3rdparty/libraries/mpdf/classes/tocontents.php index 4e0065d2..b1b61446 100644 --- a/inc/3rdparty/libraries/mpdf/classes/tocontents.php +++ b/inc/3rdparty/libraries/mpdf/classes/tocontents.php | |||
@@ -224,7 +224,6 @@ function insertTOC() { | |||
224 | $tocstart=count($this->mpdf->pages); | 224 | $tocstart=count($this->mpdf->pages); |
225 | if ($toc_preHTML) { $this->mpdf->WriteHTML($toc_preHTML); } | 225 | if ($toc_preHTML) { $this->mpdf->WriteHTML($toc_preHTML); } |
226 | 226 | ||
227 | |||
228 | // mPDF 5.6.19 | 227 | // mPDF 5.6.19 |
229 | $html ='<div class="mpdf_toc" id="mpdf_toc_'.$toc_id.'">'; | 228 | $html ='<div class="mpdf_toc" id="mpdf_toc_'.$toc_id.'">'; |
230 | foreach($this->_toc as $t) { | 229 | foreach($this->_toc as $t) { |
@@ -268,7 +267,7 @@ function insertTOC() { | |||
268 | $s .= $this->mpdf->PrintBodyBackgrounds(); | 267 | $s .= $this->mpdf->PrintBodyBackgrounds(); |
269 | 268 | ||
270 | $s .= $this->mpdf->PrintPageBackgrounds(); | 269 | $s .= $this->mpdf->PrintPageBackgrounds(); |
271 | $this->mpdf->pages[$this->mpdf->page] = preg_replace('/(___BACKGROUND___PATTERNS'.date('jY').')/', "\n".$s."\n".'\\1', $this->mpdf->pages[$this->mpdf->page]); | 270 | $this->mpdf->pages[$this->mpdf->page] = preg_replace('/(___BACKGROUND___PATTERNS'.$this->mpdf->uniqstr.')/', "\n".$s."\n".'\\1', $this->mpdf->pages[$this->mpdf->page]); |
272 | $this->mpdf->pageBackgrounds = array(); | 271 | $this->mpdf->pageBackgrounds = array(); |
273 | 272 | ||
274 | //Page footer | 273 | //Page footer |