From 79a96a8c1e719253d2344deca46a506d5c62031b Mon Sep 17 00:00:00 2001 From: Felipe Duardo Date: Tue, 9 Apr 2013 12:21:14 -0300 Subject: [PATCH] Added a prefix to the id attr of the comment field The W3C validator does not accept the attributes id or class started with numbers. --- plone/app/discussion/browser/comments.pt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plone/app/discussion/browser/comments.pt b/plone/app/discussion/browser/comments.pt index c192e7a..ff79431 100644 --- a/plone/app/discussion/browser/comments.pt +++ b/plone/app/discussion/browser/comments.pt @@ -36,7 +36,7 @@ portrait_url python:view.get_commenter_portrait(reply.author_username); review_state python:wtool.getInfoFor(reply, 'review_state', 'none');" tal:attributes="class python:'comment replyTreeLevel'+str(depth)+' state-'+str(review_state); - id string:${reply/getId}" + id string:id-${reply/getId}" tal:condition="python:canReview or review_state == 'published'">