Example #1
0
File: post.go Project: netwars/api
func cleanupPostContent(s *goquery.Selection) *goquery.Selection {
	s.RemoveFiltered("div.cite")
	s.Find("br").ReplaceWithHtml("\n")

	return s
}