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
This commit is contained in:
parent
f11f8b5f35
commit
585545bf22
|
@ -62,10 +62,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
<div id="commentS{{c.comment.id}}">{{ c.info.textSnippet|safe }}</div>
|
||||
<span class="comment_toggle" onclick="toggleComment({{c.comment.id}})" id="commentT{{c.comment.id}}">[show all]</span>
|
||||
<div id="commentF{{c.comment.id}}" style="display:none;">
|
||||
{{c.info.text|fill:"80"|format_textarea|safe}}
|
||||
{{c.info.text|fill:"80"|safe}}
|
||||
</div>
|
||||
{% else %}
|
||||
{{ c.info.text|fill:"80"|format_textarea|safe}}
|
||||
{{ c.info.text|fill:"80"|safe}}
|
||||
{% endif %}
|
||||
</td>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue