diff --git a/Tests/InputFilterTest.php b/Tests/InputFilterTest.php index c853e247..2ebda4ce 100644 --- a/Tests/InputFilterTest.php +++ b/Tests/InputFilterTest.php @@ -1376,4 +1376,19 @@ public function testCleanWithClassBlackList($type, $data, $expect, $message) $message ); } + + /** + * Test that a less than symbol isn't removed. + * + * @return void + */ + public function testLessThanSymbolsAreNotStripped() + { + $filter = new InputFilter; + $this->assertEquals( + $filter->clean('1<4', 'string'), + '1<4', + 'This sucks hard' + ); + } }