Skip to content

Commit

Permalink
Merge pull request #1313 from hajkmap/fix/997-dh-2.0-print-images-bug
Browse files Browse the repository at this point in the history
Fix that closes #997. Its now possible to specify image (and other st…
  • Loading branch information
jesade-vbg authored Apr 12, 2023
2 parents 8396fdd + 7339f70 commit 2759c55
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ class PrintWindow extends React.PureComponent {
printWindow.document.head.insertAdjacentHTML(
"beforeend",
` <title>${document.title}</title>
<base href="${document.location.protocol}//${document.location.host}/" />
<style>
@page {
size: A4;
Expand Down

0 comments on commit 2759c55

Please sign in to comment.