fix newline after header
This commit is contained in:
parent
444e41b315
commit
200ccad8b5
1 changed files with 1 additions and 1 deletions
2
stagit.c
2
stagit.c
|
@ -410,7 +410,7 @@ printshowfile(struct commitinfo *ci)
|
|||
break;
|
||||
|
||||
fputs("<span class=\"h\">", fp);
|
||||
xmlencode(fp, hunk->header, strcspn(hunk->header, "\n"));
|
||||
xmlencode(fp, hunk->header, hunk->header_len);
|
||||
fputs("</span>", fp);
|
||||
|
||||
for (k = 0; ; k++) {
|
||||
|
|
Loading…
Reference in a new issue