mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-10 02:26:18 +00:00
URLs in the console output are now hyperlinks.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28514 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
28cb11e0eb
commit
9bd333482d
4 files changed
+77
No files matched your search
@@ -119,6 +119,13 @@ public class MarkupText extends AbstractMarkupText {
|
||||
addMarkup(0,length(),startTag,endTag);
|
||||
}
|
||||
|
||||
/**
|
||||
* Surrounds this subtext with <a>...</a>.
|
||||
*/
|
||||
public void href(String url) {
|
||||
addHyperlink(0,length(),url);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the start index of the captured group within {@link MarkupText#getText()}.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user