Skip to content

Commit f9738a1

Browse files
authored
Merge pull request #44 from bshannon/issue_32
Always output <a name="start%d" ... to tag the start of the message body - fixes #32
2 parents c1b29b1 + c0111a6 commit f9738a1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/print.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1238,10 +1238,12 @@ void printbody(FILE *fp, struct emailinfo *email, int maybe_reply, int is_reply)
12381238

12391239
if (!set_showhtml) {
12401240
fprintf(fp, "<pre id=\"body\">\n");
1241-
fprintf(fp, "<a name=\"start%d\" accesskey=\"j\" id=\"start%d\"></a>", email->msgnum,email->msgnum);
12421241
pre = TRUE;
12431242
}
12441243

1244+
/* tag the start of the message body */
1245+
fprintf(fp, "<a name=\"start%d\" accesskey=\"j\" id=\"start%d\"></a>", email->msgnum,email->msgnum);
1246+
12451247
if (set_showhtml == 2)
12461248
init_txt2html();
12471249
inquote = 0;

0 commit comments

Comments
 (0)