in reply to Creating node should automatically add "<br>"

Although I would tend to agree that coddling PM newbies too much encourages delayed development -- kind of like what's happening with the delayed emotional and ethical maturation of the rich, coddled, overprotected recent generations in North America and Western Europe (probably Japan too, though perhaps to a lesser degree) -- that doesn't mean that there isn't a reasonable possiblity here for making our lives simpler without taking away power and flexibility when that is desired. Although, I haven't been bothered too much by poorly formated node, I personally find it annoying to have to be throwing <p>'s in all over the place just to get separate paragraphs when the text I'm writing requires no special formatting.

I would suggest the following. A checkbox is added next to the textarea for creating new nodes. If checked the text is assumed to be 'plaintext' with no HTML in it. It gets filtered according to a very simple set of rules:

  1. Anything that looks like HTML gets escaped (>, <, &, etc.)
  2. All newlines are converted to <br />
The text thus filtered would be what gets stored in PM. This plaintext option would not be available for updating nodes, only for node creation, since in most cases some HTML would have already been added to the plaintext node by the system.

Advantages:

Disadvantages:
--DrWhy

"If God had meant for us to think for ourselves he would have given us brains. Oh, wait..."