Editing this with nxml-mode in emacs, to test out both nxml-mode and the paragraph wrapping capabilities of emacs. The problem is that wrapping in nano, and in emacs by default, wraps on </h2>\n<p>, which is not all that optimal.

Testing

Here's a paragraph that comes directly after an h2, separated only by a line break. When wrapping this paragraph, it would be nice to not have it get appended to the h2 above it. Oh... that's kinda cool. It's already doing that properly. I wonder if it does that properly in Text mode too? Ha, nope--only in nxml-mode! Awesome.

How about a paragraph with an emphasized region in it, though? Will nxml-mode think that the em is to be selected and formatted rather than the parent block element? Apparently not! Awesome.

Sean B. Palmer