summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Barnes <eric@ericlbarnes.com>2012-07-22 04:55:58 +0200
committerEric Barnes <eric@ericlbarnes.com>2012-07-22 04:55:58 +0200
commit74cb495239927d5ea876459b179954e5bcc0488c (patch)
tree080bc42edeb03ceba73240a3fe9b6f5b5797b99e
parenta36df8a61492d6fc3a816d252bc991ccabea9be2 (diff)
Removing $reduce_linebreaks in auto_typography helper. Fixes #1642
I researched this back to a commit by @derekjones but couldn't find any history on what the reason for it was or why it was even added. Signed-off-by: Eric Barnes <eric@ericlbarnes.com>
-rw-r--r--system/helpers/typography_helper.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/helpers/typography_helper.php b/system/helpers/typography_helper.php
index af9d16a89..9dbba0679 100644
--- a/system/helpers/typography_helper.php
+++ b/system/helpers/typography_helper.php
@@ -65,11 +65,11 @@ if ( ! function_exists('auto_typography'))
* @param bool whether to reduce multiple instances of double newlines to two
* @return string
*/
- 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);
}
}