mirror of
https://github.com/typecho/typecho.git
synced 2025-01-17 04:28:17 +01:00
parent
2e268996b1
commit
cee9c87d9e
@ -3137,9 +3137,11 @@ class MarkdownExtraExtended extends MarkdownExtra {
|
||||
protected $block_tags_re = 'figure|figcaption|p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|address|form|fieldset|iframe|hr|legend';
|
||||
|
||||
public function __construct() {
|
||||
/*
|
||||
$this->block_gamut += array(
|
||||
"doFencedFigures" => 7
|
||||
);
|
||||
*/
|
||||
|
||||
$this->document_gamut += array(
|
||||
"doClearBreaks" => 100
|
||||
|
@ -1002,7 +1002,7 @@ EOF;
|
||||
}
|
||||
|
||||
if (function_exists('finfo_open')) {
|
||||
$fInfo = @finfo_open(FILEINFO_MIME);
|
||||
$fInfo = @finfo_open(FILEINFO_MIME_TYPE);
|
||||
|
||||
if (false !== $fInfo) {
|
||||
$mimeType = finfo_file($fInfo, $fileName);
|
||||
|
@ -106,7 +106,7 @@ class Widget_Plugins_List extends Typecho_Widget
|
||||
}
|
||||
}
|
||||
|
||||
if (!is_bool($this->parameter->activated) || $info['activated'] == $this->parameter->activated) {
|
||||
if ($info['activated'] == $this->parameter->activated) {
|
||||
$this->push($info);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user