Skip to content

Commit

Permalink
Implement fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nirix committed Aug 4, 2022
1 parent 19ba2a5 commit 5e9b4bf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion js.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
// Check if we can gzip the page or not/
if (extension_loaded('zlib')) {
// We can!
ob_end_clean();
ob_start('ob_gzhandler');
}

Expand Down
1 change: 1 addition & 0 deletions vendor/traq/plugins/markdown/markdown.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public static function format_text(&$text, $strip_html)
// Initialise parser
if (!isset(static::$parser)) {
static::$parser = new ParsedownExtra();
static::$parser->setSafeMode(true);
}

// Parse the text
Expand Down

0 comments on commit 5e9b4bf

Please sign in to comment.