Browse files

[Fix] Raw encoding directive added to init-js tag

  • Loading branch information...
1 parent b69132e commit faaa398281027b2c1b8b26f7d7e967c7523fdabb @benorama benorama committed Dec 21, 2013
Showing with 5 additions and 3 deletions.
  1. +1 −1 FacebookSdkGrailsPlugin.groovy
  2. +1 −0 README.md
  3. +3 −2 grails-app/views/tags/_init-js.gsp
View
2 FacebookSdkGrailsPlugin.groovy
@@ -2,7 +2,7 @@ import grails.plugin.facebooksdk.*
class FacebookSdkGrailsPlugin {
- def version = "0.4.13"
+ def version = "0.4.14"
def grailsVersion = "2.0 > *"
def author = "Benoit Hediard"
View
1 README.md
@@ -77,6 +77,7 @@ Project documentation is located here :
WARNING: Since V0.4.0, _FacebookApp_, _FacebookSdkFilters_ and _FacebookAppService_ from V0.3.* are DEPRECATED and have been replaced by _FacebookContext_.
Please check [FacebookContext](http://agorapulse.github.io/grails-facebook-sdk/guide/facebookContext.html) doc for more info.
+* 2013-12-21 **V0.4.14** : bug fix init-js link tag (raw encoding directive added for Grails 2.3 compatibility)
* 2013-12-06 **V0.4.13** : bug fix in picture tag (secure mode)
* 2013-06-05 **V0.4.12** : bug fix in sendLink tag (callback attribute)
* 2013-05-28 **V0.4.11** : _tokenRetrievalRetryCount_ config parameter added + doc update
View
5 grails-app/views/tags/_init-js.gsp
@@ -1,3 +1,4 @@
+<%@page expressionCodec="raw" %>
<div id="fb-root"></div>
<script type="text/javascript">
window.fbAsyncInit = function() {
@@ -10,11 +11,11 @@
xfbml: <g:if test="${xfbml}">true</g:if><g:else>false</g:else>, // parse XFBML
frictionlessRequests: <g:if test="${frictionlessRequests}">true</g:if><g:else>false</g:else> // to enable frictionless requests
});
-
+
<g:if test="${autoGrow}">
FB.Canvas.setAutoGrow();
</g:if>
-
+
${body}
};

0 comments on commit faaa398

Please sign in to comment.