Closed
Description
var TurndownService = require('turndown')
var turndownService = new TurndownService()
turndownService.keep(['Square'])
const markdown = turndownService.turndown('<p>Hello <Square>world</Square> </p>')
console.log(markdown)
result is :
Hello world
not
Hello <Square>world</Square>
however, it works fine with the square
the following also does not work.
turndownService.keep(['square'])
const markdown = turndownService.turndown('<p>Hello</p> <square/>')
>>> Hello
Metadata
Metadata
Assignees
Labels
No labels