Skip to content

Commit 820e87d

Browse files
committed
Fixes formatting for history page
- Legacy-Id: 5534
1 parent ad23d56 commit 820e87d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/idrfc/views_doc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,9 +498,9 @@ def _get_history(doc, versions):
498498
e.desc = multiset_ballot_text + ", ".join(u'<a href="%s">%s</a>' % (urlreverse("doc_view", kwargs={'name': n }), n) for n in names)
499499
info["dontmolest"] = True
500500

501-
info['text'] = e.desc
501+
info['text'] = e.desc.replace("''","'")
502502
info['by'] = e.by.plain_name()
503-
info['textSnippet'] = truncatewords_html(format_textarea(fill(info['text'], 80)), 25)
503+
info['textSnippet'] = truncatewords_html(info['text'], 25).replace('<br>',' ')
504504
info['snipped'] = info['textSnippet'][-3:] == "..." and e.type != "new_revision"
505505
results.append({'comment':e, 'info':info, 'date':e.time, 'is_com':True})
506506

0 commit comments

Comments
 (0)