pdf: Include `<base>` tag in PDF layout
This forces the browser (in case of the pdfexport module) to perform a network request. Otherwise there's no way (currently) to know what the browser does or cannot do. File resource loading isn't logged through the CDP.
This commit is contained in:
parent
a8be92c245
commit
867b2af12d
|
@ -17,7 +17,7 @@ if ($moduleName !== 'default') {
|
|||
<style>
|
||||
<?= StyleSheet::forPdf() ?>
|
||||
</style>
|
||||
|
||||
<base href="<?= $this->serverUrl() ?>">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/php">
|
||||
|
|
Loading…
Reference in New Issue