summaryrefslogtreecommitdiff
path: root/program/lib/html2text.php
diff options
context:
space:
mode:
Diffstat (limited to 'program/lib/html2text.php')
-rw-r--r--program/lib/html2text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/html2text.php b/program/lib/html2text.php
index 35120a712..84a7374b3 100644
--- a/program/lib/html2text.php
+++ b/program/lib/html2text.php
@@ -668,7 +668,7 @@ class html2text
*/
private function _preg_callback($matches)
{
- switch($matches[1]) {
+ switch (strtolower($matches[1])) {
case 'b':
case 'strong':
return $this->_toupper($matches[2]);