Fixed header preprocessing!

This commit is contained in:
Mike Farah
2021-11-14 10:59:50 +11:00
parent 11b6261e8b
commit 33871bf007
9 changed files with 42 additions and 45 deletions
-1
View File
@@ -40,7 +40,6 @@ func processLeadingContent(mappedDoc *CandidateNode, writer io.Writer, printDocS
log.Debug("headcommentwas %v", mappedDoc.LeadingContent)
log.Debug("finished headcomment")
reader := bufio.NewReader(strings.NewReader(mappedDoc.LeadingContent))
mappedDoc.Node.HeadComment = ""
for {