From 169f5f1c6c6e504854a078a25be5a09d3b605a49 Mon Sep 17 00:00:00 2001 From: George Burgess IV Date: Fri, 21 Apr 2017 13:35:52 -0700 Subject: [PATCH] warn.py: have URLs open in new tabs Bug: None Test: Ran warn.py on a build log. Code links in resultant HTML open in new tabs when clicked. Change-Id: Ia3def5ea14fe216700cb2ffabe4a39b98e69d55a --- tools/warn.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/warn.py b/tools/warn.py index e786e3ca9..9cb115e1e 100755 --- a/tools/warn.py +++ b/tools/warn.py @@ -2463,10 +2463,11 @@ scripts_for_warning_groups = """ if (FlagURL == "") return line; if (FlagSeparator == "") { return line.replace(ParseLinePattern, - "$1:$2:$3"); + "$1:$2:$3"); } return line.replace(ParseLinePattern, - "$1:$2:$3"); + "$1:$2:$3"); } function createArrayOfDictionaries(n) { var result = [];