Systemhelperstypography_helper.php
Load-> library ('typography '); return $ CI-> typography-> nl2br_effect_pre ($ str );}} // Configure/*** Auto Typography Wrapper Function * automatic typographical packaging Function ** @ accesspublic * @ paramstring * @ paramboolwhether to allow javascript event handlers * whether to allow JavaScript event handlers *@ paramboolwhether to reduce multiple instances of double newlines to two * whether to reduce the number of two double line breaks Instances * @ returnstring */if (! Function_exists ('auto _ typography ') {function auto_typography ($ str, $ strip_js_event_handlers = TRUE, $ performance_linebreaks = FALSE) {$ CI = & get_instance (); $ CI-> load-> library ('typography '); return $ CI-> typography-> auto_typography ($ str, $ strip_js_event_handlers, $ cece_linebreaks );}} // ----------------------------------------------------------------------/*** HTML Entities Decode * HTML entity decoding ** This functio N is a replacement for html_entity_decode () * This function is used to replace html_entity_decode () * @ accesspublic * @ paramstring * @ returnstring */if (! Function_exists ('entity _ decode') {function entity_decode ($ str, $ charset = 'utf-8') {global $ SEC; return $ SEC-> entity_decode ($ str, $ charset) ;}}/* End of file typography_helper.php * // * Location :. /system/helpers/typography_helper.php */