Skip to content

Commit 585545b

Browse files
committed
The format_textarea template filter changes almost all html-markup to visible text, while the document comments can contain for instance links, which we want to keep. Removing this filter from the doc_history template for now -- we need a plan on how to support this usecase if we're going to apply something like this.
- Legacy-Id: 2227
1 parent f11f8b5 commit 585545b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/templates/idrfc/doc_history.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@
6262
<div id="commentS{{c.comment.id}}">{{ c.info.textSnippet|safe }}</div>
6363
<span class="comment_toggle" onclick="toggleComment({{c.comment.id}})" id="commentT{{c.comment.id}}">[show all]</span>
6464
<div id="commentF{{c.comment.id}}" style="display:none;">
65-
{{c.info.text|fill:"80"|format_textarea|safe}}
65+
{{c.info.text|fill:"80"|safe}}
6666
</div>
6767
{% else %}
68-
{{ c.info.text|fill:"80"|format_textarea|safe}}
68+
{{ c.info.text|fill:"80"|safe}}
6969
{% endif %}
7070
</td>
7171
{% endif %}

0 commit comments

Comments
 (0)