diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-05-28 08:36:28 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-05-28 08:36:28 +0200 |
commit | 2d7b4ff03fc5a4ee4705698d96ad377b5f81a65c (patch) | |
tree | a74ebe68a117f3a71530e66df4b6ece917690ee9 /program | |
parent | 077befb38e9a6bdec302c0f97a0d8429f929e112 (diff) |
Fix html2text conversion of strong|b|a|th|h tags when used in upper case
Diffstat (limited to 'program')
-rw-r--r-- | program/lib/html2text.php | 2 |
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]); |