From a51e4faad87e0b18a14c4cb6c7b5796ad0467c11 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 18 Jan 2016 12:53:31 +0200 Subject: Stop quoting \c in plain text The recommended approach is to quote manually and only values that can be genuinely confused for being part of the text. For example, '-', '/', etc. --- cli/context.cxx | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'cli/context.cxx') diff --git a/cli/context.cxx b/cli/context.cxx index 25a88a0..e245dea 100644 --- a/cli/context.cxx +++ b/cli/context.cxx @@ -702,11 +702,6 @@ format_line (output_type ot, string& r, const char* s, size_t n) if (b & itlc) r += "\033[4m"; } - else - { - if (b & code) - r += "'"; - } } break; @@ -830,11 +825,6 @@ format_line (output_type ot, string& r, const char* s, size_t n) if (eb & itlc) r += "\033[4m"; } - else - { - if (b & code) - r += "'"; - } } break; -- cgit v1.1