From eb9c51018d8dbd9f3a2cf5254ff55ece0ef6f6a9 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Fri, 21 Mar 2014 13:35:39 -0400
Subject: [PATCH] Update Changelog and bump version to 1.0.0

---
 program/lib/Roundcube/rcube_html2text.php |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/program/lib/Roundcube/rcube_html2text.php b/program/lib/Roundcube/rcube_html2text.php
index 01362e6..3b4508d 100644
--- a/program/lib/Roundcube/rcube_html2text.php
+++ b/program/lib/Roundcube/rcube_html2text.php
@@ -616,6 +616,10 @@
 
                     break;
                 }
+                // abort on invalid tag structure (e.g. no closing tag found)
+                else {
+                    break;
+                }
             }
             while ($end || $next);
         }

--
Gitblit v1.9.1