[JENKINS-16184] Also escape greater-than character
Merge pull request #1420 from daniel-beck/JENKINS-16184

[JENKINS-16184] Also escape greater-than character