Merge "warn.py: have URLs open in new tabs"
am: 7ffb8c8fa8
Change-Id: I34c7c05cae50f7696be969c87d781c1a5ff7df54
This commit is contained in:
commit
2f6f02d812
1 changed files with 3 additions and 2 deletions
|
@ -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 = [];
|
||||
|
|
Loading…
Reference in a new issue