Hi Lars,

On 02-Aug-2015 15:38:21, Lars Bjørndal wrote:
Hello

I use Elinks for most of my web browsing, in a TUI-only environment with a
screen set up as 25 rows and 80 cols. Some pages are coded in a way that
makes the lines longer than the terminal screen. Look for instance at
this link: <https://bugzilla.redhat.com/show_bug.cgi?id=785772>, and
look for the comments a bit down. The key W, for toggle wrapping of text,
does have no effect on such pages.

I don't have fix, but have noticed this too on certain pages. I've only just figured out though (thanks to your example) that this is because of the use of the <pre> tag on these pages. Elinks (probably somewhat correctly?) seems to refuse to wrap these.

One hacky fix (what I might try first) is to use Lua, etc to re-write problematic pages and swap the <pre> tags for something else. The proper fix I'm really not sure on because you shouldn't really wrap <pre> tags. I guess these web pages use CSS to override the default behaviour of <pre> and Elinks isn't clever enough to do this. --
http://lists.linuxfromscratch.org/listinfo/elinks-users
Unsubscribe: See the above information page

Reply via email to