MCPcopy Index your code
hub / github.com/TruthHun/BookStack / handleNextLine

Function handleNextLine

utils/html2md/html2markdown.go:327–335  ·  view source on GitHub ↗
(doc *goquery.Document)

Source from the content-addressed store, hash-verified

325}
326
327func handleNextLine(doc *goquery.Document) *goquery.Document {
328 for _, tag := range nextlineTag {
329 doc.Find(tag).Each(func(i int, selection *goquery.Selection) {
330 selection.BeforeHtml("\n\n")
331 selection.AfterHtml("\n\n")
332 })
333 }
334 return doc
335}
336
337func getInnerHtml(selection *goquery.Selection) (html string) {
338 var err error

Callers 1

ConvertFunction · 0.85

Calls 1

FindMethod · 0.45

Tested by

no test coverage detected