anchor.diff:          function addFavorite() {
             var name = $("#breadCrumb").text();
             var description = "<%=WebEncodeHelper.javaStringToJsString(pubDetail.getDescription(language))%>";
  -          var url = "<%=URLUtil.getSimpleURL(URLUtil.URL_PUBLI, pubDetail.getPK().getId())%>";
  +          var url = "<%=pubPermalink%>";
             postNewLink(name, url, description);
           }
   
  
positive.code:  var myapp = angular.module('silverpeas.kmelia', ['silverpeas.services', 'silverpeas.directives']);
   </script>
   </body>
  </html>
negative.code:   if (kmeliaPublication.isAlias()) {
      componentInstanceIdOfAlias = contextComponentId;
    }
    String pubPermalink = "";
    if (URLUtil.displayUniversalLinks()) {
      if (!pubDetail.getPK().getInstanceId().equals(contextComponentId)) {
        pubPermalink = URLUtil.getSimpleURL(URLUtil.URL_PUBLI, pubDetail.getPK().getId(), contextComponentId);
      } else {
        pubPermalink = URLUtil.getSimpleURL(URLUtil.URL_PUBLI, pubDetail.getPK().getId());
      }
    }
  
    String linkedPathString = kmeliaScc.getSessionPath();
  
  