diff --cc composer.json index 179cae1,179cae1..f634264 --- a/composer.json +++ b/composer.json @@@ -8,7 -8,7 +8,7 @@@ "vboctor/disposable_email_checker": "^3.0", "adodb/adodb-php": "^5.20", "phpmailer/phpmailer": "^5.2.22", -- "erusev/parsedown": "^1.7.0", ++ "erusev/parsedown": "^1.6", "dapphp/securimage": "dev-mantis" }, "require-dev": { diff --cc composer.lock index 8f44439,8f44439..9879157 --- a/composer.lock +++ b/composer.lock @@@ -4,7 -4,7 +4,7 @@@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], -- "content-hash": "493a9911b0f5109b5f4b73997648e7be", ++ "content-hash": "acd102d3211c0308e763376e7be54d78", "packages": [ { "name": "adodb/adodb-php", @@@ -142,25 -142,25 +142,21 @@@ }, { "name": "erusev/parsedown", -- "version": "1.7.1", ++ "version": "1.6.3", "source": { "type": "git", "url": "https://github.com/erusev/parsedown.git", -- "reference": "92e9c27ba0e74b8b028b111d1b6f956a15c01fc1" ++ "reference": "728952b90a333b5c6f77f06ea9422b94b585878d" }, "dist": { "type": "zip", -- "url": "https://api.github.com/repos/erusev/parsedown/zipball/92e9c27ba0e74b8b028b111d1b6f956a15c01fc1", -- "reference": "92e9c27ba0e74b8b028b111d1b6f956a15c01fc1", ++ "url": "https://api.github.com/repos/erusev/parsedown/zipball/728952b90a333b5c6f77f06ea9422b94b585878d", ++ "reference": "728952b90a333b5c6f77f06ea9422b94b585878d", "shasum": "" }, "require": { -- "ext-mbstring": "*", "php": ">=5.3.0" }, -- "require-dev": { -- "phpunit/phpunit": "^4.8.35" -- }, "type": "library", "autoload": { "psr-0": { @@@ -184,7 -184,7 +180,7 @@@ "markdown", "parser" ], -- "time": "2018-03-08T01:11:30+00:00" ++ "time": "2017-05-14T14:47:48+00:00" }, { "name": "guzzlehttp/guzzle", diff --cc plugins/MantisCoreFormatting/core/MantisMarkdown.php index 6d96174,e937edd..18958bb --- a/plugins/MantisCoreFormatting/core/MantisMarkdown.php +++ b/plugins/MantisCoreFormatting/core/MantisMarkdown.php @@@ -66,9 -66,9 +66,6 @@@ class MantisMarkdown extends Parsedow # set the table class $this->table_class = 'table table-nonfluid'; -- -- # XSS protection -- $this->setSafeMode( true ); } /**