Index: tools/gn/standard_out.cc |
diff --git a/tools/gn/standard_out.cc b/tools/gn/standard_out.cc |
index 6c20616e38634564b511d51be10aa9e75710ca00..a059e17e91af82b584bab775aa79c51e3236ef23 100644 |
--- a/tools/gn/standard_out.cc |
+++ b/tools/gn/standard_out.cc |
@@ -239,7 +239,7 @@ void PrintLongHelp(const std::string& text) { |
OutputString(line.substr(0, chars_to_highlight), DECORATION_YELLOW); |
OutputString(line.substr(chars_to_highlight) + "\n"); |
continue; |
- } else if (!line.empty() && !in_body) { |
+ } else if (is_markdown && !line.empty() && !in_body) { |
OutputString("```\n", DECORATION_NONE); |
in_body = true; |
} |