From 2fdbeb0d785db8d63849f0205313aed4d085f3ec Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Tue, 28 Nov 2017 14:37:46 -0800 Subject: [PATCH] Gen-bugnote: Replace backslashes with {backslash}. Change-Id: I12b479fedf9ca54b600919a4586c4b4c43464589 Reviewed-on: https://code.wireshark.org/review/24626 Reviewed-by: Gerald Combs --- tools/gen-bugnote | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/gen-bugnote b/tools/gen-bugnote index e7004a53e6..17962224f0 100755 --- a/tools/gen-bugnote +++ b/tools/gen-bugnote @@ -53,10 +53,11 @@ bug_title=$( curl -s -o - "https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=$bug_id" \ | grep -i '' \ | sed \ + -e 's/{/\\{/' \ -e 's:.*<title>.*ndash; ::' \ -e 's:.*::' \ -e 's/[^\.]$/&./' \ - -e 's/{/\\{/' \ + -e 's/\\/{backslash}/' \ ) echo -e "* $bug_title (ws-buglink:$bug_id[])\n" \