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>
|
<style>
|
||||||
<?= StyleSheet::forPdf() ?>
|
<?= StyleSheet::forPdf() ?>
|
||||||
</style>
|
</style>
|
||||||
|
<base href="<?= $this->serverUrl() ?>">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<script type="text/php">
|
<script type="text/php">
|
||||||
|
|
Loading…
Reference in New Issue