aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command/html.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2011-04-17 02:47:43 -0400
committerW. Trevor King <wking@drexel.edu>2011-04-17 02:47:43 -0400
commit33439853e5148ccf43b35bd51acdeb599f3e2d5f (patch)
tree67c519ef4a687c7cf77f9d76f6d06a4bee5053e0 /libbe/command/html.py
parent23c368d14d8c2449f360daef7ae497ffe95e5a7f (diff)
downloadbugseverywhere-33439853e5148ccf43b35bd51acdeb599f3e2d5f.tar.gz
Ensure comment div ids start with a letter (per validator.w3.org).
Diffstat (limited to 'libbe/command/html.py')
-rw-r--r--libbe/command/html.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbe/command/html.py b/libbe/command/html.py
index 8d42747..1fdae08 100644
--- a/libbe/command/html.py
+++ b/libbe/command/html.py
@@ -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,