src/cm/utils/comment_positioning.py
changeset 360 bfaab8740995
parent 308 3b92edaa5291
child 365 a478cb9786fd
--- a/src/cm/utils/comment_positioning.py	Thu Jun 16 09:27:56 2011 +0200
+++ b/src/cm/utils/comment_positioning.py	Thu Jul 21 09:42:33 2011 +0200
@@ -127,7 +127,7 @@
     
     if with_markers:
         end_ids.reverse()
-        ret = "%s%s%s"%(''.join(["[%s>"%start_id for start_id in start_ids]), ret, ''.join(["<%s]"%end_id for end_id in end_ids]))
+        ret = "%s%s%s"%(''.join(["[%s&gt;"%start_id for start_id in start_ids]), ret, ''.join(["&lt;%s]"%end_id for end_id in end_ids]))
      
     if with_colors and color != 0 :
         ret = "<span style='background-color:%s;'>%s</span>"%(BCKCOLORS[color], ret)
@@ -243,4 +243,4 @@
 #        top_comment_cpt = top_comment_cpt + 1
 #    
 #    ret = "%s%s%s"%("""<div class="pagebreakhere">""", html_comments, """</div>""")
-#    return ret
\ No newline at end of file
+#    return ret