Closed Pawka closed 8 years ago
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.
Go code:
Will provide:
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.