TCPDF
TCPDF copied to clipboard
SVG Filetype detection
even in the latest 6.6.5 the detection of inline SVG seems broken.
Chainging Line 19016 of tcpdf.php
from $type = '';
to $type = preg_match('/<svg([^>]*)>/si', $imgsrc) ? 'svg' : ''
seems to fix this.
Can you open a pull-request for that?
@williamdes did so just right now