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

Remove manual script tag filter and use turndown remove filter

This commit is contained in:
AWolf81
2019-08-31 21:35:09 +02:00
parent 72b8d56245
commit ec47ee8110
2 changed files with 2 additions and 12 deletions

View File

@@ -4,5 +4,6 @@ const { gfm } = require('turndown-plugin-gfm')
export const createTurndownService = function () {
const turndown = new TurndownService()
turndown.use(gfm)
turndown.remove('script')
return turndown
}