Skip to content

Commit

Permalink
[frontend] Ignore font-family while exporting report content (OpenCTI…
Browse files Browse the repository at this point in the history
  • Loading branch information
lndrtrbn authored Jun 11, 2024
1 parent 3721de2 commit 8160869
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,10 @@ class StixCoreObjectContentComponent extends Component {
const htmlData = currentContent
.replaceAll('id="undefined" ', '')
.replaceAll(regex, '');
const ret = htmlToPdfmake(htmlData, { imagesByReference: true });
const ret = htmlToPdfmake(htmlData, {
imagesByReference: true,
ignoreStyles: ['font-family'],
});
Promise.all(
R.pipe(
R.toPairs,
Expand Down

0 comments on commit 8160869

Please sign in to comment.