Multiple lines are joined after sanitizing.
Closed this issue · 0 comments
Pawka commented
Go code:
package main
import (
"fmt"
"github.com/kennygrant/sanitize"
)
func main() {
content := `<p>LINE 1<br />
LINE 2<br />
LINE 3</p>`
fmt.Println(sanitize.HTML(content))
}
Will provide:
LINE 1LINE 2LINE 3
New lines are missing. I can fix this by myself, but want to be sure if you'll merge my PR as latest commit is 1 year old.