File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ import convertModeName from 'browser/lib/convertModeName'
1616import copy from 'copy-to-clipboard'
1717import mdurl from 'mdurl'
1818import exportNote from 'browser/main/lib/dataApi/exportNote'
19- import { escapeHtmlCharacters } from 'browser/lib/utils'
2019import context from 'browser/lib/context'
2120import i18n from 'browser/lib/i18n'
2221import fs from 'fs'
@@ -331,9 +330,7 @@ export default class MarkdownPreview extends React.Component {
331330 allowCustomCSS ,
332331 customCSS
333332 )
334- let body = this . markdown . render (
335- escapeHtmlCharacters ( noteContent , { detectCodeBlock : true } )
336- )
333+ let body = this . markdown . render ( noteContent )
337334 const files = [ this . GetCodeThemeLink ( codeBlockTheme ) , ...CSS_FILES ]
338335 const attachmentsAbsolutePaths = attachmentManagement . getAbsolutePathsOfAttachmentsInContent (
339336 noteContent ,
You can’t perform that action at this time.
0 commit comments