Révision 1aa883a3
Ajouté par Assos Assos il y a presque 6 ans
drupal7/sites/all/modules/print/print_pdf/lib_handlers/print_pdf_dompdf/print_pdf_dompdf.pages.inc | ||
---|---|---|
87 | 87 |
|
88 | 88 |
// Try to use local file access for image files. |
89 | 89 |
$html = _print_access_images_via_file($html, $images_via_file); |
90 |
// Remove all scripts due to security concerns. |
|
91 |
$html = preg_replace('!<script(.*?)>(.*?)</script>!is', '', $html); |
|
90 | 92 |
|
91 | 93 |
// Spaces in img URLs must be replaced with %20, when using external access. |
92 | 94 |
if (!$images_via_file) { |
Formats disponibles : Unified diff
Weekly update of contrib modules