diff --git a/ietf/templates/doc/document_ballot_content.html b/ietf/templates/doc/document_ballot_content.html index 375e354804..4d35727d15 100644 --- a/ietf/templates/doc/document_ballot_content.html +++ b/ietf/templates/doc/document_ballot_content.html @@ -97,7 +97,7 @@

{{ p.pos.name }} ({{ p.discuss_time|date:"Y-m-d" }}{% if not p.for_current_revision %} for -{{ p.get_dochistory.rev}}{% endif %})
-
{{ p.discuss|wrap_text:80|escape|urlize }}
+
{{ p.discuss|escape|urlize }}
{% endif %} @@ -106,7 +106,7 @@

{{ p.pos.name }} ({{ p.discuss_time|date:"Y-m-d"
Comment ({{ p.comment_time|date:"Y-m-d" }}{% if not p.for_current_revision %} for -{{ p.get_dochistory.rev}}{% endif %})
-
{{ p.comment|wrap_text:80|escape|urlize }}
+
{{ p.comment|escape|urlize }}
{% endif %} {% endfor %} diff --git a/ietf/templates/doc/shepherd_writeup.html b/ietf/templates/doc/shepherd_writeup.html index f2b4ec63b0..b3feb1242e 100644 --- a/ietf/templates/doc/shepherd_writeup.html +++ b/ietf/templates/doc/shepherd_writeup.html @@ -1,6 +1,7 @@ {% extends "base.html" %} {# Copyright The IETF Trust 2015, All Rights Reserved #} {% load origin %} +{% load ietf_filters %} {% block title %} Shepherd writeup for {{ doc.canonical_name }}-{{ doc.rev }} @@ -10,7 +11,7 @@ {% origin %}

Shepherd writeup
{{ doc.canonical_name }}-{{ doc.rev }}

-
{{writeup}}
+
{{writeup|escape|urlize}}
{% if can_edit %} Edit diff --git a/static/css/ietf.css b/static/css/ietf.css index 92f87aee29..65874824fd 100644 --- a/static/css/ietf.css +++ b/static/css/ietf.css @@ -195,6 +195,13 @@ pre { white-space: pre; } +/* Some chunks of text are likely to be pasted into fields from other editing environments + which do various things with line-wrapping. Preserve whitespace to the extent possible. */ +.pasted { + white-space: pre-wrap; + word-break: keep-all; +} + /* Make ampersands pretty */ /* This sets ampersand in a different font than the rest of the text. Fancy, but it's really better to select a pretty font in the first place. Additionally, _which_ 'pretty'