anchor.diff:            var sharingObject = {
                 componentId: "<%=contextComponentId%>",
                 type       : "Publication",
  -              id         : "<%=id%>",
  -              name   : "<%=EncodeHelper.javaStringToJsString(pubDetail.getName(language))%>"
  +              id         : "${publication.id}",
  +              name   : "${silfn:escapeJs(publication.getName(contentLanguage))}"
             };
             createSharingTicketPopup(sharingObject);
           }
  
positive.code: <%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
  <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
  <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
  <%@ taglib uri="http://www.silverpeas.com/tld/viewGenerator" prefix="view"%>
  <%@ taglib tagdir="/WEB-INF/tags/silverpeas/util" prefix="viewTags" %>
  
negative.code: %>
  
  <c:set var="publication" value="<%=pubDetail%>"/>
  <jsp:useBean id="publication" type="com.stratelia.webactiv.util.publication.model.PublicationDetail"/>
  <c:set var="publicationRaterRatingEntity" value="<%=RaterRatingEntity.fromRateable(pubDetail)%>"/>
  
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  