Details
Description
Try the following inside a gsp:
<g:set var="variable" value="Value" />
{{<g:remoteLink action="theAction" params="someParams" update="success" onComplete="doSomething();" title="A title with a $
</g:remoteLink>}}
<br />
{{<%= remoteLink( action:'theAction', params:"someParams", update:'success', onComplete:"doSomething();", title:"A title with a $
{variable}", class:"hoverLT") { "${variable}" } %>}}
The first Link, generated by the remoteLink-tag has got a hover-text / title, which looks like this: "A title with aValue". The space between "...aValue" is stripped.
The second Link rendered by <%= remoteLink(... has a correct hover-text / title, which looks like "A title with a Value".
The error occures whenever a $
{variable}is used inside the remoteLink title-attribute, followed by a space, or following a space.
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits