Skip to content

Commit

Permalink
Remove unused variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Feb 11, 2016
1 parent 97f889b commit 13fac54
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions framework/Text_Filter/lib/Horde/Text/Filter/Html2text.php
Expand Up @@ -120,10 +120,8 @@ public function postProcess($text)
$this->_params['nestingLimit'] += 2;
}
$text = Horde_String::convertCharset($this->_node($dom->dom, $dom->dom), 'UTF-8', $this->_params['charset']);
$dom_convert = true;
} catch (Exception $e) {
$text = strip_tags(preg_replace("/\<br\s*\/?\>/i", "\n", $text));
$dom_convert = false;
}

/* Bring down number of empty lines to 2 max, and remove trailing
Expand Down

0 comments on commit 13fac54

Please sign in to comment.