Line break in editable text in template

When I have something like this in a template for a client to edit:

<h1>Company Name - Newsletter #<$description default=''$> - NEW</h1>

The client can edit it to make it,e.g. 99

but when the template is rendered it comes out with line breaks, e.g.

Company name - Newsletter #

1. Is this right?
2. Is there a way to work round it?

Cheers guys.


Diana Diana, 8 years ago

Hey E.

The description tag automatically enters in paragraph tags around the text entered. It sounds like the title tag may be more what you're looking for.

D. Potter
Campaign Monitor
webmanwalking, 8 years ago

Aha, thanks for that.  I will give it a try.

Ed Henderson
Web Man Walking

See why 200,000 companies worldwide love Campaign Monitor.

From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that boost the bottom line.

Get started for free