disable fenced figures feature by MarkdownExtraExtended
This commit is contained in:
祁宁 2014-04-28 00:31:09 +08:00
parent 2e268996b1
commit cee9c87d9e
3 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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);

View File

@ -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);
}
}