Skip to content

Commit 3d7ab40

Browse files
KazumiHARADARokt33r
authored andcommitted
[update] apply the method of fixLocalURLS before exporting to pdf
1 parent b8de51b commit 3d7ab40

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

browser/components/MarkdownPreview.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,10 @@ export default class MarkdownPreview extends React.Component {
345345
customCSS
346346
)
347347
let body = this.markdown.render(noteContent)
348+
body = attachmentManagement.fixLocalURLS(
349+
body,
350+
this.props.storagePath
351+
)
348352
const files = [this.GetCodeThemeLink(codeBlockTheme), ...CSS_FILES]
349353
files.forEach(file => {
350354
if (global.process.platform === 'win32') {

0 commit comments

Comments
 (0)