I'd rather just solve the problem by having PerlMonks render PRE blocks rather similarly (but not identically) to how it renders CODE blocks. I'd also be in favor of a toggle that turns off the wrapping tricks for those rare cases when you actually want a node rendered wider than you choose to (or perhaps can) make your browser window because you want to scroll to the left or right side and look at that part of the node without other wrapped stuff getting in the way.

I see that my quite-up-to-date version of FireFox still doesn't properly support soft hyphens so the best way to deal with this stuff is still mostly only handled by IE1 (which follows the standard on this point, unlike FireFox, and has for many years now, in case you didn't get the irony).

BTW, if you don't like my idea, one reason certainly could be that you don't use IE and so don't have access to (a working version of) the lovely "auto code wrap" feature. It is probably a bit of work to borrow a copy of IE (or other soft-hyphening browser) and set up "auto code wrap" and play with it enough to see how lovely it works, but you might consider doing that... (:

- tye        

1 Yes, I've heard that Opera also now supports soft hyphen (and I suspect that there are other browsers that support it by now)


In reply to Re: How 'bout a <pre> (and other stuff) warning? (fix) by tye
in thread How 'bout a <pre> (and other stuff) warning? by blazar

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.