function convert_font_attr($attr, $value = "", $text = "") { if (strlen($text) <= 0) { return ""; } $text = str_replace("\\\"", "\"", $text); if (strlen($value) <= 0) { return $text; } if ($this->allow["LOG_FONT"] == "N") { return $text; } else { return parent::convert_font_attr($attr, $value, $text); } }