diff --git a/main.go b/main.go
index 5d25e41..c85d4b8 100644
--- a/main.go
+++ b/main.go
@@ -339,15 +339,11 @@ func renderComments(s []string, markdown bool) string {
// we treat this as a HTML tag with markdown renderer below. solve this.
return string(blackfriday.Run([]byte(doc)))
}
- return nl2br(doc)
+ return doc
}
func safe(s string) template.HTML { return template.HTML(s) }
-func nl2br(s string) string {
- return strings.Replace(s, "\n\n", string(template.HTML("
")), -1)
-}
-
func hiddenMember(m types.Member, c generatorConfig) bool {
for _, v := range c.HiddenMemberFields {
if m.Name == v {