diff options
author | James Moger <james.moger@gitblit.com> | 2014-02-28 15:22:39 -0500 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-03-01 09:21:32 -0500 |
commit | 6bb5715c488e09cddccf6bf1936d294d31049c85 (patch) | |
tree | 3aae5308d4127d4d2305e909585afecfe03952bf /src/main/java | |
parent | 02119875d182c4c2bb29aef75971c8de0b5f28a8 (diff) | |
download | gitblit-6bb5715c488e09cddccf6bf1936d294d31049c85.tar.gz gitblit-6bb5715c488e09cddccf6bf1936d294d31049c85.zip |
Launch bugtraq links in a new tab
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/com/gitblit/utils/MessageProcessor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/utils/MessageProcessor.java b/src/main/java/com/gitblit/utils/MessageProcessor.java index 087187f5..c38e0e85 100644 --- a/src/main/java/com/gitblit/utils/MessageProcessor.java +++ b/src/main/java/com/gitblit/utils/MessageProcessor.java @@ -165,7 +165,7 @@ public class MessageProcessor { @Override public void appendLink(String name, String target) { - sb.append(MessageFormat.format("<a class=\"bugtraq\" href=\"{1}\">{0}</a>", name, target)); + sb.append(MessageFormat.format("<a class=\"bugtraq\" href=\"{1}\" target=\"_blank\">{0}</a>", name, target)); } } } |