fix: correct condition check in argon_format_mermaid_code

This commit is contained in:
2026-01-23 22:00:21 +08:00
parent ccd3cfa877
commit 5704531a4d

View File

@@ -3610,7 +3610,7 @@ add_filter('the_content' , 'the_content_filter',20);
// Mermaid 代码块预处理
function argon_format_mermaid_code($content) {
if (!get_option('argon_mermaid_enable', 'false') == 'true') {
if (get_option('argon_mermaid_enable', 'false') != 'true') {
return $content;
}