From b7ced331aa797567c4e180eec0b59e59f7227044 Mon Sep 17 00:00:00 2001
From: Peter Andersson
Date: Mon, 2 May 2016 01:14:10 +0200
Subject: Add flag/option for disabling the character escaping functionality
OTP-13537
---
lib/common_test/doc/src/write_test_chapter.xml | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
(limited to 'lib/common_test/doc/src/write_test_chapter.xml')
diff --git a/lib/common_test/doc/src/write_test_chapter.xml b/lib/common_test/doc/src/write_test_chapter.xml
index e3811ec4cf..a7a652d506 100644
--- a/lib/common_test/doc/src/write_test_chapter.xml
+++ b/lib/common_test/doc/src/write_test_chapter.xml
@@ -1047,9 +1047,15 @@
Common Test will escape special HTML characters (<, > and &) in printouts
to the log file made with ct:pal/4 and io:format/2. In order to print
- strings with HTML tags to the log, use the ct:log/5 function. The character escaping
- feature is per default disabled for ct:log/5, but can be enabled with the
- esc_chars option.
+ strings with HTML tags to the log, use the ct:log/3,4,5 function. The character
+ escaping feature is per default disabled for ct:log/3,4,5 but can be enabled with
+ the esc_chars option in the Opts list, see
+ ct:log/3,4,5.
+
+ If the character escaping feature needs to be disabled (typically for backwards
+ compatibility reasons), use the ct_run start flag -no_esc_chars, or the
+ ct:run_test/1 start option {esc_chars,Bool} (this start option is also
+ supported in test specifications).
For more information about log files, see section
Log Files
--
cgit v1.2.3