fix: correct condition check in argon_format_mermaid_code
This commit is contained in:
@@ -3610,7 +3610,7 @@ add_filter('the_content' , 'the_content_filter',20);
|
|||||||
|
|
||||||
// Mermaid 代码块预处理
|
// Mermaid 代码块预处理
|
||||||
function argon_format_mermaid_code($content) {
|
function argon_format_mermaid_code($content) {
|
||||||
if (!get_option('argon_mermaid_enable', 'false') == 'true') {
|
if (get_option('argon_mermaid_enable', 'false') != 'true') {
|
||||||
return $content;
|
return $content;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user