Skip to content

Commit

Permalink
Merge pull request #29 from ilkerunaldi/master
Browse files Browse the repository at this point in the history
[FIXED JENKINS-24434] fix trim() usage
  • Loading branch information
rsandell committed Dec 19, 2014
2 parents b40e35f + a05085c commit 59e34dc
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -77,7 +77,7 @@ private void addToHelperMap(FoundFailureCause cause) {

@Override
public ConsoleAnnotator annotate(Object context, MarkupText text) {
AnnotationHelper match = helperMap.get(text.getText().trim());
AnnotationHelper match = helperMap.get(text.getText().replace("\n", "").replace("\r", ""));
if (match != null) {
text.wrapBy(match.getBefore(), match.getAfter());
}
Expand Down

0 comments on commit 59e34dc

Please sign in to comment.