On Nov 12, 2009, at 2:49 PM, jvdrean (SVN) wrote:

> Author: jvdrean
> Date: 2009-11-12 14:49:46 +0100 (Thu, 12 Nov 2009)
> New Revision: 25026
>
> Modified:
>   enterprise/trunk/wiki/src/main/resources/Main/RecentChanges.xml
> Log:
> XE-551 : Main.RecentChanges - page recent comment display error
>
> Modified: enterprise/trunk/wiki/src/main/resources/Main/ 
> RecentChanges.xml
> ===================================================================
> --- enterprise/trunk/wiki/src/main/resources/Main/RecentChanges.xml    
> 2009-11-12 09:04:11 UTC (rev 25025)
> +++ enterprise/trunk/wiki/src/main/resources/Main/RecentChanges.xml    
> 2009-11-12 13:49:46 UTC (rev 25026)
> @@ -568,7 +568,7 @@
> #set($previousAuthor = "")
> ## Get this very doc, useful when it is included from another one.
> #set($recentChangesDoc = $xwiki.getDocument("Main.RecentChanges"))
> -{{html}}
> +{{html clean="false"}}

JV, why do you use clean=false?

If it means we have invalid HTML I think it should be fixed instead,  
wdyt?

Thanks
-Vincent

> <table class="recentChanges"  
> summary="$msg.get('xe.recentchanges.summary')">
>   <tr class="recentChangesHeader"><th> 
> $msg.get("xe.recentchanges.column.authoranddate")</ 
> th><th>$msg.get("xe.recentchanges.column.changes")</ 
> th></tr>
>   #foreach ($rcDocName in $rcDocumentNames)
> @@ -607,7 +607,9 @@
>                 <div class="commentQuote lQuo"> </ 
> div>
>                 <div class="commentQuote rQuo"> </ 
> div>
>                 <div class="comment">
> -                  $lastComment.get("comment")
> +                  {{/html}}
> +                    $lastComment.get("comment")
> +                  {{html clean="false"}}
>                 </div>
>                 ## Display discussion link, this link point to the  
> comments anchor.
>                 <div class="commentAdd"><img  
> src="$xwiki.getSkinFile("icons/silk/comment.gif")" alt="Reply icon" / 
> > <a href="${rcDoc.getURL("view")}#Comments"> 
> $msg.get("xe.recentchanges.entry.comment.seediscussion")</ 
> a></div>
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to