diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-10-21 11:34:41 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-10-21 11:34:41 +0200 |
commit | 27a620c012ea2fb1a9c0bafba3ba34fd194072c8 (patch) | |
tree | e4adb376c33f26b8a850a0c3f31940edfa12a09e /program/lib/Roundcube/rcube_html2text.php | |
parent | d29f7810808bc364afc665471f7d1a5d7b6bb01c (diff) |
Fix typo in method name
Diffstat (limited to 'program/lib/Roundcube/rcube_html2text.php')
-rw-r--r-- | program/lib/Roundcube/rcube_html2text.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/lib/Roundcube/rcube_html2text.php b/program/lib/Roundcube/rcube_html2text.php index 6f79e2f8e..01362e6fb 100644 --- a/program/lib/Roundcube/rcube_html2text.php +++ b/program/lib/Roundcube/rcube_html2text.php @@ -608,7 +608,7 @@ class rcube_html2text $this->width = $p_width; // Add citation markers and create <pre> block - $body = preg_replace_callback('/((?:^|\n)>*)([^\n]*)/', array($this, 'blockquote_citation_ballback'), trim($body)); + $body = preg_replace_callback('/((?:^|\n)>*)([^\n]*)/', array($this, 'blockquote_citation_callback'), trim($body)); $body = '<pre>' . htmlspecialchars($body) . '</pre>'; $text = substr_replace($text, $body . "\n", $start, $end + 13 - $start); @@ -624,7 +624,7 @@ class rcube_html2text /** * Callback function to correctly add citation markers for blockquote contents */ - public function blockquote_citation_ballback($m) + public function blockquote_citation_callback($m) { $line = ltrim($m[2]); $space = $line[0] == '>' ? '' : ' '; |