forked from kinow/tap-plugin
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIXED JENKINS-14910] Escape HTML characters in YAML diagnostics
- Loading branch information
Showing
2 changed files
with
51 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52a7986
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, we output some links to our test case as HTML in TAP comments. Because of the escapeHtml, we see the links as anchor string on Jenkins rather than a nice link that we can click at. Is it possible to have a config flag to escape or un-escape (providing users the options, rather than always escape)?
Thanks.
52a7986
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @linhpham, sure, that does make sense. Sorry. I fixed the other issue (escape HTML) but didn't think it would cause a new one (display un-escaped links).
Could you please fill an issue in issues.jenkins-ci.org with a short description and maybe a link to this commit too? I'll take a look into it as soon as I get another development cycle to work on jenkins plugins. Use tap as component.
Thanks!
52a7986
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @kinow , thanks for responding. I have created a JIRA here: https://issues.jenkins-ci.org/browse/JENKINS-20917
Cheers.
52a7986
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!