Hi,
I don't know if it is the answer but in your copie of the code, you type
<\div> in place of </div>.
Regards,
Maxime
2010/12/20 Gerritjan Koekkoek <gerritjankoekkoek(a)gmail.com>
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(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users