mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-18 14:32:22 +00:00
[JENKINS-16184] Also escape greater-than character
This commit is contained in:
1 parent
07fd5fa45d
commit
daacb02057
5 files changed
+12
-6
No files matched your search
@@ -96,9 +96,9 @@ public class MarkupTextTest extends TestCase {
|
||||
|
||||
public void testPreEscape() {
|
||||
MarkupText text = new MarkupText("Line\n2 & 3\n<End>\n");
|
||||
assertEquals("Line\n2 & 3\n<End>\n", text.toString(true));
|
||||
assertEquals("Line\n2 & 3\n<End>\n", text.toString(true));
|
||||
text.addMarkup(4, "<hr/>");
|
||||
assertEquals("Line<hr/>\n2 & 3\n<End>\n", text.toString(true));
|
||||
assertEquals("Line<hr/>\n2 & 3\n<End>\n", text.toString(true));
|
||||
}
|
||||
|
||||
/* @Bug(6252) */
|
||||
|
||||
Reference in new issue
Block a user