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.
This commit is contained in:
parent
b02f1f493b
commit
79a96a8c1e
@ -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'">
|
||||
|
||||
<div class="commentImage" tal:condition="showCommenterImage">
|
||||
|
Loading…
Reference in New Issue
Block a user