diff --git a/ietf/templates/doc/document_ballot_content.html b/ietf/templates/doc/document_ballot_content.html index 375e35480..4d35727d1 100644 --- a/ietf/templates/doc/document_ballot_content.html +++ b/ietf/templates/doc/document_ballot_content.html @@ -97,7 +97,7 @@
{{ p.discuss|wrap_text:80|escape|urlize }}
{{ p.discuss|escape|urlize }}
{{ p.comment|wrap_text:80|escape|urlize }}
{{ p.comment|escape|urlize }}
{{writeup}}+
{{writeup|escape|urlize}}{% if can_edit %} Edit diff --git a/static/css/ietf.css b/static/css/ietf.css index 92f87aee2..65874824f 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'