From 5e406f7b7e452031e6ec924536a562c0c414f4e9 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Mon, 25 Apr 2016 14:56:04 -0400
Subject: [PATCH] Disable links list when converting html2text for spellchecking

---
 program/lib/Roundcube/rcube_spellchecker.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/lib/Roundcube/rcube_spellchecker.php b/program/lib/Roundcube/rcube_spellchecker.php
index a579cac..29c9a93 100644
--- a/program/lib/Roundcube/rcube_spellchecker.php
+++ b/program/lib/Roundcube/rcube_spellchecker.php
@@ -250,7 +250,7 @@
 
     private function html2text($text)
     {
-        $h2t = new rcube_html2text($text, false, true, 0);
+        $h2t = new rcube_html2text($text, false, false, 0);
         return $h2t->get_text();
     }
 

--
Gitblit v1.9.1