title: messageSource.getMessage send IllegalArgumentException: Unmatched braces in the pattern
body: <p>I use spring MessageSource to fetch messages from my localisation properties files.</p>
  
  <p>In this case I use it to create a mail before sendiing it to the user: </p>
  
  <pre><code>String eventTitle = tournament.getEvent().getTitle();
  String tournamentMessageTitle = messageSource.getMessage("tournament.subscribe_title",  new Object[] {eventTitle}, "", locale);
  
  DateFormat df = new SimpleDateFormat("dd.MM.yyyy");
  String formatedDate = df.format(tournament.getDate());
  String barName = bar.getName();
  String tournamentMessageContent = messageSource.getMessage("tournament.subscribe_content", new Object[] {username, eventTitle, formatedDate, barName}, "", locale);
  </code></pre>
  
  <p>and here are the properties in message.properties</p>
  
  <pre><code>tournament.subscribe_title = You signed up for "{0}"
  tournament.subscribe_content = Hello {0], &lt;br /&gt;&lt;br /&gt; You&amp;rsquo;ve sucessfully signed up for &amp;ldquo;{1}&amp;rdquo;. See you on {2} at Meltdown {3}!&lt;br/&gt;&lt;br/&gt;You&amp;rsquo;ll have to confirm your participation with an admin prior to the start of the event.&lt;br/&gt;&lt;br/&gt;See you soon!&lt;br/&gt;&lt;br/&gt;The Meltdown {3} team
  </code></pre>
  
  <p>So here, we have two usages of messageSource.getMessage. The first one works, the second one throws IllegalArgumentException: Unmatched braces in the pattern.</p>
  
  <p>I tried to change the message, change/remove the variables, remove the quotes and double quotes, move the properties somewhere else in the message.properties file but I always get the same error</p>