diff --git a/controllers/Parse.php b/controllers/Parse.php index ffc1c29..ed6a753 100644 --- a/controllers/Parse.php +++ b/controllers/Parse.php @@ -10,7 +10,7 @@ class Parse { public $mc; private $_cacheTime = 120; private $_pretty = false; - private static $_version = '1.2.1'; + private static $_version = '1.2.2'; public static function useragent() { return 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36 XRay/'.self::$_version.' ('.\Config::$base.')'; diff --git a/tests/SanitizeTest.php b/tests/SanitizeTest.php index 1865db6..54fdcf6 100644 --- a/tests/SanitizeTest.php +++ b/tests/SanitizeTest.php @@ -36,7 +36,7 @@ class SanitizeTest extends PHPUnit_Framework_TestCase { $this->assertContains('delete,', $html, ' missing'); $this->assertContains('emphasis,', $html, ' missing'); $this->assertContains('italics,', $html, ' missing'); - $this->assertContains('images are allowed', $html, ' missing'); + $this->assertContains('images are allowed', $html, ' missing'); $this->assertContains('inline quote,', $html, ' missing'); $this->assertContains('strikethrough,', $html, ' missing'); $this->assertContains('strong text,', $html, ' missing');