kennygrant / sanitize

Package sanitize provides functions for sanitizing text in golang strings.
BSD 3-Clause "New" or "Revised" License
334 stars 73 forks source link

HTML: replace <br/> with \n #2

Closed yarcat closed 10 years ago

yarcat commented 10 years ago

<br/> were not replaced with new lines. Fixed and test added.