Maybe you can use the A string input inside the XML helper:

A(XML("...."), ...)

So the html is not escaped:

The XML helper doc:
"... use it to wrap a string that contains XML/HTML so that it will not be 
escaped by the template ..."

El lunes, 9 de abril de 2012 07:11:19 UTC-3, Annet escribió:
>
> In a view I have the following link:
>
> <a class="btn btn-primary btn-large">Learn more &raquo;</a>
>
> I would like to put this in an A helper, this doesn't work :
>
> {{=A('Learn more &raquo;',_class="btn btn-primary", 
> _onclick="javascript:openwindow('%s','detailswindow',1028,576)"%URL('details',args=[row.Organization.nodeID]))}}
>
> 'Learn more &raquo;' is displayed as is. I thought this would do the trick:
>
> 'Learn more' + '%s' %&raquo;
>
> ... but it doesn't. What is the correct syntax to generate this link.
>
>
> Kind regards,
>
> Annet
>
>
> Kind regards,
>
> Annet
>
>

Reply via email to