Changeset 6500907 for text.c

Timestamp:
Jul 21, 2011, 5:12:15 PM (10 years ago)
Author:
Jason Gross <jgross@mit.edu>
Branches:
master, release-1.9
Children:
f661cee, 092806c
Parents:
14be3a5
git-author:
Jason Gross <jgross@mit.edu> (07/20/11 02:55:11)
git-committer:
Jason Gross <jgross@mit.edu> (07/21/11 17:12:15)
Message:
Correctly display multiline fields in :info

Commit 259e60a8abc2d2d41bc7a484b02a334fdd13857f removed the length limit
on :info, but kept the replacement of '\n' with '~' and '\r' with '!'.
This replacement came with the initial commit, with a comment of "/*
just for testing for now */".  This commit does away with that
replacement, and indents the fields for display purposes.

This is particularly useful for messages that have very long fields,
such as the original xml field for jabber messages.

Trailing newlines (e.g., in formats or in the message body) are doubled,
because the code is simpler that way, and because I don't see a
compelling reason to strip them.
(No files)

Note: See TracChangeset for help on using the changeset viewer.