mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 05:18:25 +00:00 
			
		
		
		
	roll back a small change
This commit is contained in:
		@@ -118,9 +118,10 @@ func (diffSection *DiffSection) ComputeLinesDiff() {
 | 
			
		||||
		var compareDiffLine *DiffLine
 | 
			
		||||
		var diff1, diff2 string
 | 
			
		||||
 | 
			
		||||
		diffLine.ParsedContent = template.HTML(html.EscapeString(diffLine.Content[1:]))
 | 
			
		||||
 | 
			
		||||
		// just compute diff for adds and removes
 | 
			
		||||
		if diffLine.Type != DIFF_LINE_ADD && diffLine.Type != DIFF_LINE_DEL {
 | 
			
		||||
			diffLine.ParsedContent = template.HTML(html.EscapeString(diffLine.Content[1:]))
 | 
			
		||||
			continue
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user