options nomargins dont_wrap_pre and width strip spaces
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lynx-cur (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
<!--
Command line:
lynx -dump -force_html -nomargins -dont_wrap_pre -width=70 THISFILE
Incorrect output (missing spaces between words when word ends at line end):
xxxxxxxxxxxxxxx
-->
<html>
<head>
<title>Lynx Bug</title>
</head>
<body>
<p>
xxxxxxxxxxxxxxx
YYYYYYYYYYYYYYY
zzzzzzzzzzzzzzz
AAAAAAAAAAAAAAA
</p>
</body>
</html>
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: lynx 2.8.8dev.7-1
ProcVersionSign
Uname: Linux 2.6.38-10-generic x86_64
Architecture: amd64
Date: Wed Jul 6 21:27:29 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
PackageArchitec
SourcePackage: lynx-cur
UpgradeStatus: No upgrade log present (probably fresh install)
Related bug:
<!--
Command line:
lynx -dump -force_html -nomargins -dont_wrap_pre -width=71 THISFILE
Incorrect output (not wrapped at 71):
xxxxxxxxxxx xxxxxxxxxxx xxxxxxxxxxx xxxx xxxxxxxxx xxxxxxx xxxxxxxxxx YYYYYYYYYYY YYYYYYYYYYY YYYYYYYYYYY YYYY YYYYYYYYY YYYYYYY YYYYYYYYY zzzzzzzzzzz zzzzzzzzzzz zzzzzzzzzzz zzzz zzzzzzzzz zzzzzzz zzzzzzzzz AAAAAAAAAAA AAAAAAAAAAA AAAAAAAAAAA AAAA AAAAAAAAA AAAAAAA AAAAAAAAA
Removing "-dont_wrap_pre" produces correct output, even though it shouldn't
have any effect since no <pre> is being used:
Command line:
lynx -dump -force_html -nomargins -width=71 THISFILE
Correct output (wrapped at 71):
xxxxxxxxxxx xxxxxxxxxxx xxxxxxxxxxx xxxx xxxxxxxxx xxxxxxx xxxxxxxxxx
YYYYYYYYYYY YYYYYYYYYYY YYYYYYYYYYY YYYY YYYYYYYYY YYYYYYY YYYYYYYYY
zzzzzzzzzzz zzzzzzzzzzz zzzzzzzzzzz zzzz zzzzzzzzz zzzzzzz zzzzzzzzz
AAAAAAAAAAA AAAAAAAAAAA AAAAAAAAAAA AAAA AAAAAAAAA AAAAAAA AAAAAAAAA
-->
<html>
<head>
<title>Lynx Bug</title>
</head>
<body>
<p>
xxxxxxxxxxx xxxxxxxxxxx xxxxxxxxxxx xxxx xxxxxxxxx xxxxxxx xxxxxxxxxx
YYYYYYYYYYY YYYYYYYYYYY YYYYYYYYYYY YYYY YYYYYYYYY YYYYYYY YYYYYYYYY
zzzzzzzzzzz zzzzzzzzzzz zzzzzzzzzzz zzzz zzzzzzzzz zzzzzzz zzzzzzzzz
AAAAAAAAAAA
AAAAAAAAAAA
AAAAAAAAAAA
AAAA
AAAAAAAAA
AAAAAAA
AAAAAAAAA
</p>
</body>
</html>