diff --git a/system/includes/functions.php b/system/includes/functions.php index b8312df..2da01a3 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -3578,7 +3578,7 @@ function blog_string() { $string = config('blog.string'); if (!is_null($string) && !empty($string)) { - return $string; + return safe_html($string); } return 'Blog'; } @@ -3586,13 +3586,13 @@ function blog_string() // Return blog title function blog_title() { - return config('blog.title'); + return safe_html(config('blog.title')); } // Return blog tagline function blog_tagline() { - return config('blog.tagline'); + return safe_html(config('blog.tagline')); } // Return blog description @@ -4081,9 +4081,9 @@ function generate_meta($type = null, $object = null) if ($type == 'is_blog') { $tags .= ''. generate_title('is_blog', null) .'' . "\n"; $tags .= '' . "\n"; - $tags .= '' . "\n"; + $tags .= '' . "\n"; $tags .= '' . "\n"; - $tags .= '' . "\n"; + $tags .= '' . "\n"; $tags .= '' . "\n"; } else { $tags .= ''. generate_title('is_front', null) .'' . "\n"; @@ -4095,7 +4095,7 @@ function generate_meta($type = null, $object = null) } $tags .= '' . "\n"; $tags .= '' . "\n"; - $tags .= '' . "\n"; + $tags .= '' . "\n"; $tags .= '' . "\n"; $tags .= '' . "\n"; if(!empty($twitter)) { @@ -4138,7 +4138,7 @@ function generate_meta($type = null, $object = null) $tags .= '' . "\n"; } $tags .= '' . "\n"; - $tags .= '' . "\n"; + $tags .= '' . "\n"; $tags .= '' . "\n"; $tags .= '' . "\n"; $tags .= '' . "\n";