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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user