I want to tell my browser to word-wrap in a PRE tag. If line-endings are there, it's fine to respect them, but I want it to assume when it sees lines too wide to display in a PRE tag that it can just fix that for me.
Use a bookmarklet
rafael on 2004-10-27T15:42:53
I think you could do this will a bookmarklet written in Javascript that searches all PRE tags of the current pages and modifies line-wrapping layout for them. (Similarly, I use quite often bookmarklets that add/remove underlines of A tags. Nice, when you're colour-blind.)
CSS
brianiac on 2004-10-27T16:49:46
One day, a browser may support white-space: pre-wrap
, and you could modify your user stylesheet to use it.