Dear Fellow monks,

Don't know if this has been discussed numerous times before, but I'd like to make a suggestion about node creation.

It is a feature that, when creating a node, one have to add html tags to format his text. And that is fine. I'm really happy to write my contributions in HTML : that is quite easy for most of us (don't have to learn special tags like in phpBB) and for perlmonks perl code (don't have to substitute that special tags with HTML tags).

However, for me, there is a simple feature that is really missing : adding a special <br> tag at each end of line.

It is not that it is a big pain to add it. I often forget it, but preview remind me of that. I'm just tired of reading nodes in which not <br> tag have been added at all. That really makes them less readable, which is a pity.

So don't you think something should be done for that ?


Update : I realize I've not be clear : what I propose is of course not to add a <br /> at the end of each line (in the textarea), but a the end of each paragraph, that is adding it whenever the poster press "Enter". Otherwise the formating would depend on the browser and the screen resolution, that is very bad.

--
zejames


PS : yes, writing good xhtml is good(TM) so let's use <br /> ;)

In reply to Creating node should automatically add "<br>" by zejames

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.