What's a "linebreaker?"

This is intended for use with lyrics and poetry, where you may have dozens of lines and you need a <br> tag at the end of each line.

If you're doing ordinary prose, don't use this thing. For that, you should enclose each paragraph in <p> </p> tags, like so:

    <p>Call me Ishmael.  Some years ago -- never mind how long 
    precisely -- having little or no money in my purse, and 
    nothing particular to interest me on shore, I thought I 
    would sail about a little and see the watery part of the 
    world. </p>

    <p>-- Herman Melville </p>

The E2 Paragraph Tagger does exactly that, with a few options thrown in.

It's permissible to use just the "open paragraph" tag (<p>) at the beginning of each paragraph, but don't leave that out and put a "close paragraph" tag (</p>) at the end of each paragraph; that's broken HTML and it causes formatting problems in some browsers. Note that putting a '/' at the end of the tag is not the same thing as putting it at the beginning: At the beginning (as in </p> or </i>), it means that the tag is a "close" tag; at the end (as in <br />), it signifies that the tag is an "open" tag which has no matching "close" tag. Most tags, like <p> "contain" things; <br /> is a rare exception.

Here's how it works:

First paste your writeup into the box, then click the "Add Break Tags" button down below the box. The Linebreaker will insert a <br> tag wherever you hit the "return" key in the text. Where the lines wrap around without hitting "return", that will be ignored.

If you select the "Replace indenting with <dd> tag" option, the Linebreaker will insert a <dd> tag at the beginning of every line which has been indented with one or more spaces or tabs. The <dd> tag will indent the line when you display your writeup.

Along similar lines:
You can E2-proof source code (and reverse the process) with the E2 Source Code Formatter.
E2 Paragraph Tagger
You can also format lists as HTML with the E2 List Formatter.

Replace indenting with <dd> tag

6/5/2001: Updated to generate XHTMLically correct <br /> tags and to harangue users about broken HTML.