mirror of
https://github.com/shuchkin/simplexlsxgen.git
synced 2023-08-10 21:12:59 +03:00
1.0.14
This commit is contained in:
@ -460,6 +460,10 @@ class SimpleXLSXGen {
|
||||
$this->sheets[ $idx ]['hyperlinks'][] = ['ID' => 'rId' . ( count( $this->sheets[ $idx ]['hyperlinks'] ) + 1 ), 'R' => $cname, 'H' => $h[0], 'L' => isset( $h[1] ) ? $h[1] : ''];
|
||||
$F = self::F_HYPERLINK; // Hyperlink
|
||||
}
|
||||
if ( preg_match( '/<a href="(mailto?:[^"]+)">(.*?)<\/a>/i', $v, $m ) ) {
|
||||
$this->sheets[ $idx ]['hyperlinks'][] = ['ID' => 'rId' . ( count( $this->sheets[ $idx ]['hyperlinks'] ) + 1 ), 'R' => $cname, 'H' => $m[1], 'L' => ''];
|
||||
$F = self::F_HYPERLINK; // mailto hyperlink
|
||||
}
|
||||
$v = strip_tags( $v );
|
||||
} // tags
|
||||
$vl = mb_strlen( $v );
|
||||
|
Reference in New Issue
Block a user