anchor.diff:          {
               pageText.append( "\n\n----\n\n" );
           }
  -
  -        pageText.append( EditorManager.getEditedText(pageContext) );
  +        
  +        String commentText = EditorManager.getEditedText(pageContext);
  +        
  +        //
  +        //  WYSIWYG editor sends us its greetings
  +        //
  +        String htmlText = findParam( pageContext, "htmlPageText" );
  +        if( htmlText != null && cancel == null )
  +        {
  +        	commentText = new HtmlStringToWikiTranslator().translate(htmlText,wikiContext);
  +        }
  +        
  +        pageText.append( commentText );
   
           log.debug("Author name ="+author);
           if( author != null && author.length() > 0 )
  
positive.code: <%@ page import="javax.servlet.jsp.jstl.fmt.*" %>
  <%!
      Logger log = Logger.getLogger("JSPWiki");
  %>
  
  <%
  
negative.code: <%@ page import="com.ecyrd.jspwiki.filters.*" %>
  <%@ page import="java.util.*" %>
  <%@ page import="java.text.SimpleDateFormat" %>
  <%@ page import="com.ecyrd.jspwiki.htmltowiki.HtmlStringToWikiTranslator" %>
  <%@ page import="com.ecyrd.jspwiki.ui.EditorManager" %>
  <%@ page import="com.ecyrd.jspwiki.util.HttpUtil" %>
  <%@ page import="com.ecyrd.jspwiki.auth.login.CookieAssertionLoginModule" %>
  