summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-09-30 14:38:43 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-09-30 14:38:43 +0000
commit8a0d4056b424ae3c74bc7608b5aa62b141ab3a4e (patch)
tree21da41f9164313158a8107b22cbbc3695d18d8bb /gnu
parent66263b696699038d86e697a2520b7b1db49e471c (diff)
from mainline lynx; passed to us by bulibuta@sdf.lonestar.org
2008-04-27 (2.8.7dev.9) * pass a newline after the start of PRE-section in HTGopher.c to force the first newline between records to be seen and cause the lines to split (report by Ciprian Dorin Craciun) -TD
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/lynx/WWW/Library/Implementation/HTGopher.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/usr.bin/lynx/WWW/Library/Implementation/HTGopher.c b/gnu/usr.bin/lynx/WWW/Library/Implementation/HTGopher.c
index 3823bb6c6ba..f98a0c72977 100644
--- a/gnu/usr.bin/lynx/WWW/Library/Implementation/HTGopher.c
+++ b/gnu/usr.bin/lynx/WWW/Library/Implementation/HTGopher.c
@@ -248,6 +248,7 @@ PRIVATE void parse_menu ARGS2(
END(HTML_H1);
PUTC('\n');
START(HTML_PRE);
+ PUTC('\n'); /* newline after HTML_PRE forces split-line */
while ((ich=NEXT_CHAR) != EOF) {
if (interrupted_in_htgetcharacter) {