Skip to content

Commit 7fffde1

Browse files
authored
Update services/gitdiff/gitdiff.go
1 parent ba96e9f commit 7fffde1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/gitdiff/gitdiff.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ func (diffSection *DiffSection) getDiffLineForRender(diffLineType DiffLineType,
297297
}
298298
if diffLineType != DiffLinePlain {
299299
// it seems that Gitea doesn't need the line wrapper of Chroma, so do not add them back
300-
// if the line wrappers are still needed in the future, it can be added back by "diffToHTML(hcd.lineWrapperTags. ...)"
300+
// if the line wrappers are still needed in the future, it can be added back by "diffLineWithHighlightWrapper(hcd.lineWrapperTags. ...)"
301301
lineHTML = hcd.diffLineWithHighlight(diffLineType, diff1, diff2)
302302
}
303303
return DiffInlineWithUnicodeEscape(lineHTML, locale)

0 commit comments

Comments
 (0)