Then turn "auto" code wrapping off!

It doesn't seem to matter how many times I say this. Even in threads where I've said this I see later replies complaining that wrapping doesn't always work in Moz.

Code wrapping works fine in Moz, but "auto" code wrapping doesn't. I guess part of the problem is that auto code wrapping often doesn't need the soft hyphens so people think "it works" because sometimes it does.

Even castaway's explanation fails to mention "auto". That is what she is talking about but I think most would have a hard time figuring that out.

As for code tags w/o newlines, such are meant for code within a sentence and as such aren't expected to start at the start of a line and so non-auto code wrapping would make no sense.

If someone writes a paragraph of code w/o including a newline, then they've misused the formatting. If anyone wants that fixed then they'll have to write the code that accurately and efficiently distinguishes code within a paragraph from code as a paragraph.

- tye        


In reply to Re^2: code without newline doesn't wrap ("AUTO"!) by tye
in thread code without newline doesn't wrap by bart

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.