/** * built page content display at index.php, after remove escape string * wrap text and built short version * @param string $width used for wrap text * @param string $indent used for wrap text * @return string $page_content */ public static function built_page_content($width = "60", $indent = "4") { global $current_page; $page_content = str_replace("\\", "", $current_page["content"]); $page_content = htmlentities($page_content); $page_content = self::wrap_text($page_content, $width, $indent); if (!isset($_GET['read'])) { $short_version = utility::short_text($page_content); $page_content = $short_version; } return $page_content; }