From 22c9237716028ccfd1876a31eef813f7720b0a42 Mon Sep 17 00:00:00 2001 From: "N. Engelhardt" Date: Tue, 20 Jun 2023 11:17:12 +0200 Subject: [PATCH] show: escape angle brackets --- passes/cmds/show.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passes/cmds/show.cc b/passes/cmds/show.cc index 525c81d5b..f1854058c 100644 --- a/passes/cmds/show.cc +++ b/passes/cmds/show.cc @@ -208,7 +208,7 @@ struct ShowWorker str += "╲"; continue; } - if (ch == '"') + if (ch == '"' || ch == '<' || ch == '>') str += "\\"; str += ch; }