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 #
99
- NEW

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

Cheers guys.

E.

Diana Diana, 7 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, 7 years ago

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


Ed Henderson
Web Man Walking

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

Get started for free
1-888-533-8098