1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

[update] apply the method of fixLocalURLS before exporting to pdf

This commit is contained in:
Kazumi Harada
2019-06-09 17:35:57 +09:00
committed by Junyoung Choi
parent b8de51be57
commit 3d7ab40674

View File

@@ -345,6 +345,10 @@ export default class MarkdownPreview extends React.Component {
customCSS
)
let body = this.markdown.render(noteContent)
body = attachmentManagement.fixLocalURLS(
body,
this.props.storagePath
)
const files = [this.GetCodeThemeLink(codeBlockTheme), ...CSS_FILES]
files.forEach(file => {
if (global.process.platform === 'win32') {