diff --git a/docs/ref/contrib/comments/index.txt b/docs/ref/contrib/comments/index.txt
index f6e1553..3813bf2 100644
|
a
|
b
|
This returns a list of :class:`~django.contrib.comments.models.Comment` objects;
|
| 104 | 104 | see :ref:`the comment model documentation <ref-contrib-comments-models>` for |
| 105 | 105 | details. |
| 106 | 106 | |
| | 107 | Linking to comments |
| | 108 | ------------------- |
| | 109 | |
| | 110 | To provide a permalink to a specific comment, use ``comment.get_absolute_url()``. |
| | 111 | You will have to supply the named anchor at a suitable place in your template. |
| | 112 | The name must be the letter 'c' followed by the comment id, for example 'c82'. |
| | 113 | |
| | 114 | For example:: |
| | 115 | |
| | 116 | {% for comment in comment_list %} |
| | 117 | <a name="c{{ comment.id }}"></a> |
| | 118 | <a href="{{ comment.get_absolute_url }}"> |
| | 119 | permalink for comment #{{ forloop.counter }} |
| | 120 | </a> |
| | 121 | ... |
| | 122 | {% endfor %} |
| | 123 | |
| | 124 | .. warning:: |
| | 125 | |
| | 126 | There's a known bug in Safari / webkit which causes the named anchor to be |
| | 127 | forgotten following a redirect. The practical impact for comments is that |
| | 128 | the Safari/webkit browsers will arrive at the correct page but will not |
| | 129 | scroll to the named anchor. |
| | 130 | |
| 107 | 131 | .. templatetag:: get_comment_count |
| 108 | 132 | |
| 109 | 133 | Counting comments |