Merge "warn.py: have URLs open in new tabs"

am: 7ffb8c8fa8

Change-Id: I34c7c05cae50f7696be969c87d781c1a5ff7df54
This commit is contained in:
George Burgess IV 2017-04-25 17:12:25 +00:00 committed by android-build-merger
commit 2f6f02d812

View file

@ -2463,10 +2463,11 @@ scripts_for_warning_groups = """
if (FlagURL == "") return line;
if (FlagSeparator == "") {
return line.replace(ParseLinePattern,
"<a href='" + FlagURL + "/$1'>$1</a>:$2:$3");
"<a target='_blank' href='" + FlagURL + "/$1'>$1</a>:$2:$3");
}
return line.replace(ParseLinePattern,
"<a href='" + FlagURL + "/$1" + FlagSeparator + "$2'>$1:$2</a>:$3");
"<a target='_blank' href='" + FlagURL + "/$1" + FlagSeparator +
"$2'>$1:$2</a>:$3");
}
function createArrayOfDictionaries(n) {
var result = [];