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

Join 150,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free