By default, the itinerary system assumes that text in a field doesn't contain HTML tags and replaces manual line feeds with a <br/> tag and tabs with 5 html spaces ("&nbsp;") when previewing.  When a text field already contains HTML break tags or HTML spaces this can result in unwanted line breaks or spaces.  To indicate that a text field contains HTML tags, use the following formatting instruction with the placeholder:

{<placeholder name>:html}


By default, the itinerary system returns dates formatting as m/d/yyyy hh:mm:ss.  To change the date formatting, use the following formatting instruction with the placeholder:

{<placeholder name>:<date format>}

The following contains all date related options based on a placeholder value of 1/1/2014 12:00:00  
Date Format Example Notes
d 1 day of month
dd 01 day of month
ddd Wed abbreviated weekday
dddd Wednesday full weekday
mm 01 month
MMM Jan abbreviated month
MMMM January full month
yy 14 year
yyyy 2014 full year

For example, {startdate:dddd MMM d, yyyy} would return "Wednesday Jan 1, 2014".


If a placeholder is number related, you can control the formatting of the number by appending standard formatting options after the placeholder:

{<placeholder name>:<number format>}

The following contains the main number related format options based on a placeholder number value of 12345.6789
Format Example Notes
C $12,345.68 currency, rounded to two decimals
C1 $12,345.7 currency, rounded to one decimal
C0 $12,346 currency, rounded to no decimals
N 12,345.68 number, rounded to two decimals
N1 12,345.7 number, rounded to one decimal
N0 12,346 number, rounded to no decimals


The legacy {image.file} placeholder has been replaced with the {image.url} placeholder. This placeholder returns the URL field from the file entity. If the URL field is blank and there is an attachment, then the URL placeholder returns a link to the attachment.

The URL placeholder must be used inside an image tag like this:

<img src="{activity.image.url}" />

By allowing the template to directly control the img tag, it allows for things such as:

<img src="{activity.image.url}" height="300" width="300" style="border:5px solid black"/>

... as well as other advanced CSS techniques like positioning and clipping

Note: Image sizing, borders, positioning and clipping do export to PDF properly, but not all of these properties are supported by Word and therefore may not be preserved when editing or sending the Itinerary as a Word file.


By default, the itinerary system returns Breakfast as B; Lunch as L; Dinner as D; no meals as None; and uses no separator. So a day with all three meals would appear as BLD. Using a formatting command as follows provides the ability to use different text and separators.
{meals:B=Breakfast;L=Lunch;D=Dinner;Separator=, ;None=No Meals}


{meals:B=BRF;L=LNC;D=DNR;Separator=, }


{meals:Separator=/;None=On your own}

Note: The first example shows a separator with an intentional space after the comma so it would appear as "Breakfast, Lunch, Dinner" rather than "Breakfast,Lunch,Dinner"