Hi
I get this error (Failed to execute the [html] macro) if I change the following:

#macro(ShowFlag $CountryCode)
  #set($ImageExtension = '.png')
  #set($CountryCodeFile = $CountryCode + $ImageExtension)
  {{html}}
  <img src="../../download/CdLSAssociations/FlagAttachments/$CountryCodeFile" 
       alt="$CountryCode" 
       title="$CountryCode"/>
  {{/html}}
#end

to this

#macro(ShowFlag $CountryCode)
  #set($ImageExtension = '.png')
  #set($CountryCodeFile = $CountryCode + $ImageExtension)
  {{html clean="true"}}
  <div class="flags">
  <img src="../../download/CdLSAssociations/FlagAttachments/$CountryCodeFile" 
       alt="$CountryCode" 
       title="$CountryCode"/>
  <\div>
  {{/html}}
#end

Why does adding the <div class...> and </div> give this error?

Gerritjan
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to