CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • How to insert a dash so that it's not interpreted as minus
Pages: [1]

Author Topic: How to insert a dash so that it's not interpreted as minus  (Read 475 times)

Hans.S

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 5
How to insert a dash so that it's not interpreted as minus
February 09, 2011, 07:03:05 am
I have a conditional statement to list both languages in my email template.

{if $membership_name eq 'Associate - National'} Associe - national
{else}<br />
      {/if}

This seems to fail because the dash is interpreted as a minus sign (I think).

How do I insert the dash as text not an operator?

Inserting &#8211; or &#45; does not seem to work.

Thanks in advance for any tip. :P
« Last Edit: February 09, 2011, 08:29:02 am by Hans.S »

Hans.S

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 5
Re: How to insert a dash so that it's not interpreted as minus
February 09, 2011, 01:05:01 pm
Looks like a dash is not an option.

Removed it

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • How to insert a dash so that it's not interpreted as minus

This forum was archived on 2017-11-26.