Handle newlines in template text strings, refs #107.

I set it up to collapse newlines and tabs into a single space.
It could alternately preserve the markup exactly as specified.