From e7b42f949947f4235f2541daf08bc4b3b84c1954 Mon Sep 17 00:00:00 2001 From: Badlop Date: Fri, 11 Jul 2008 13:35:08 +0000 Subject: * src/mod_register.erl: Revert support for io_lib newline, since there is a standard character that representes newline (EJAB-501) * doc/guide.tex: Update documentation to explain newline character * doc/guide.html: Likewise * src/ejabberd.cfg.example: Likewise SVN Revision: 1436 --- doc/guide.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/guide.tex') diff --git a/doc/guide.tex b/doc/guide.tex index 5a23a359a..49e40400d 100644 --- a/doc/guide.tex +++ b/doc/guide.tex @@ -3036,7 +3036,7 @@ Options: \titem{welcome\_message} \ind{options!welcomem}Set a welcome message that is sent to each newly registered account. The first string is the subject, and the second string is the message body. - In the body you can set a newline with the characters: \term{\~\ n}. + In the body you can set a newline with the characters: \verb|\n| \titem{registration\_watchers} \ind{options!rwatchers}This option defines a list of JIDs which will be notified each time a new account is registered. \iqdiscitem{In-Band Registration (\ns{jabber:iq:register})} @@ -3095,7 +3095,7 @@ Also define a registration timeout of one hour: ... {mod_register, [ - {welcome_message, {"Welcome!", "Hi.~nWelcome to this Jabber server.~n Check http://www.jabber.org~n~nBye"}}, + {welcome_message, {"Welcome!", "Hi.\nWelcome to this Jabber server.\n Check http://www.jabber.org\n\nBye"}}, {registration_watchers, ["admin1@example.org", "boss@example.net"]} ]}, ... -- cgit v1.2.3