Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Enabled the sanitize option of marked to show html code correctly. (retry) #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion app.js
Expand Up @@ -85,7 +85,7 @@
dir: dir,
path: file,
markdown: data,
content: Markdown(data, { renderer: renderer })
content: Markdown(data, { renderer: renderer, sanitize: true })
}
},
renderer: function(){
Expand Down