upgrade to codeigniter 1.7.2 for f12
[www-register-wizard.git] / helpers / typography_helper.php
index 9cbedbb..2706d53 100644 (file)
@@ -6,7 +6,7 @@
  *
  * @package            CodeIgniter
  * @author             ExpressionEngine Dev Team
- * @copyright  Copyright (c) 2008, EllisLab, Inc.
+ * @copyright  Copyright (c) 2008 - 2009, EllisLab, Inc.
  * @license            http://codeigniter.com/user_guide/license.html
  * @link               http://codeigniter.com
  * @since              Version 1.0
@@ -54,17 +54,16 @@ if ( ! function_exists('nl2br_except_pre'))
  *
  * @access     public
  * @param      string
- * @param      bool    whether to allow javascript event handlers
  * @param      bool    whether to reduce multiple instances of double newlines to two
  * @return     string
  */
 if ( ! function_exists('auto_typography'))
 {
-       function auto_typography($str, $strip_js_event_handlers = TRUE, $reduce_linebreaks = FALSE)
+       function auto_typography($str, $reduce_linebreaks = FALSE)
        {
                $CI =& get_instance();  
                $CI->load->library('typography');
-               return $CI->typography->auto_typography($str, $strip_js_event_handlers, $reduce_linebreaks);
+               return $CI->typography->auto_typography($str, $reduce_linebreaks);
        }
 }