Ensure comment div ids start with a letter (per validator.w3.org).
authorW. Trevor King <wking@drexel.edu>
Sun, 17 Apr 2011 06:47:43 +0000 (02:47 -0400)
committerW. Trevor King <wking@drexel.edu>
Sun, 17 Apr 2011 06:47:43 +0000 (02:47 -0400)
libbe/command/html.py

index 8d427472d32dca79b60886fa9baf8fc3b0a19657..1fdae082d6021cdace23a710fc260c26dd11a3c4 100644 (file)
@@ -782,9 +782,9 @@ div.root.comment {
 {% if comments %}
 {% for depth,comment in comments %}
 {% if depth == 0 %}
-<div class="comment root" id="{{ comment_dir(comment) }}">
+<div class="comment root" id="C{{ comment_dir(comment) }}">
 {% else %}
-<div class="comment" id="{{ comment_dir(comment) }}">
+<div class="comment" id="C{{ comment_dir(comment) }}">
 {% endif %}
 {{ comment_entry.render({
        'depth':depth, 'bug': bug, 'comment':comment, 'comment_dir':comment_dir,