Merge "warn.py: have URLs open in new tabs" am: 7ffb8c8fa8 am: 2f6f02d812

am: 763e59213d

Change-Id: I7ec4e89370c007d28dd0db5ceafd80ae9f15a94f
This commit is contained in:
George Burgess IV 2017-04-25 17:17:25 +00:00 committed by android-build-merger
commit ce662c40f4
1 changed files with 3 additions and 2 deletions

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 = [];