mirror of
https://github.com/tecnickcom/TCPDF.git
synced 2025-03-14 19:19:43 +01:00
Merge branch 'main' into sanitize
This commit is contained in:
commit
ebfc0b855e
@ -19125,7 +19125,7 @@ class TCPDF {
|
||||
$imglink = '';
|
||||
if (isset($this->HREF['url']) AND !TCPDF_STATIC::empty_string($this->HREF['url'])) {
|
||||
$imglink = $this->HREF['url'];
|
||||
if ($imglink[0] == '#') {
|
||||
if ($imglink[0] == '#' AND is_numeric($imglink[1])) {
|
||||
// convert url to internal link
|
||||
$lnkdata = explode(',', $imglink);
|
||||
if (isset($lnkdata[0])) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user