diff --git a/README.md b/README.md index f0f918a..44f3d9b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![Logo](https://www.htmly.com/content/images/20150812224335-htmly.png) +![Logo](https://raw.githubusercontent.com/danpros/htmly/master/system/resources/images/logo-big.png) HTMLy is an open source databaseless web publishing platform that prioritizes simplicity and speed. HTMLy can be referred to as a Flat-File Blog or Flat-File CMS, since it will also manage your content. diff --git a/favicon.ico b/favicon.ico index 81f8bba..ae39e49 100644 Binary files a/favicon.ico and b/favicon.ico differ diff --git a/system/includes/functions.php b/system/includes/functions.php index a1ad2df..6655729 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -1017,9 +1017,9 @@ function get_description($string, $char = null) } } if (strlen(strip_tags($string)) < $char) { - return safe_html($string); + return safe_html(strip_tags($string)); } else { - $string = safe_html($string); + $string = safe_html(strip_tags($string)); $string = substr($string, 0, $char); $string = substr($string, 0, strrpos($string, ' ')); return $string; diff --git a/system/resources/images/logo-big.png b/system/resources/images/logo-big.png new file mode 100644 index 0000000..5b61e75 Binary files /dev/null and b/system/resources/images/logo-big.png differ diff --git a/system/resources/images/logo-small.png b/system/resources/images/logo-small.png new file mode 100644 index 0000000..00603ab Binary files /dev/null and b/system/resources/images/logo-small.png differ