summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
Diffstat (limited to 'program')
-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 efc38a630..4180cac28 100644
--- a/program/lib/html2text.php
+++ b/program/lib/html2text.php
@@ -543,7 +543,7 @@ class html2text
while(preg_match('/<pre[^>]*>(.*)<\/pre>/ismU', $text, $matches))
{
$result = preg_replace($this->pre_search, $this->pre_replace, $matches[1]);
- $text = preg_replace('/<pre[^>]*>.*<\/pre>/ismU', '<div><br>' . $result . '<br></div>', $text);
+ $text = preg_replace('/<pre[^>]*>.*<\/pre>/ismU', '<div><br>' . $result . '<br></div>', $text, 1);
}
}
}