From 0344b168276f80189e2254c75a762aff5b517b6b Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Sun, 22 May 2016 06:32:57 -0400
Subject: [PATCH] Fix priority icon(s) position
---
program/lib/Roundcube/rcube_html2text.php | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/program/lib/Roundcube/rcube_html2text.php b/program/lib/Roundcube/rcube_html2text.php
index d20d7b7..269d350 100644
--- a/program/lib/Roundcube/rcube_html2text.php
+++ b/program/lib/Roundcube/rcube_html2text.php
@@ -137,10 +137,10 @@
*/
protected $search = array(
'/\r/', // Non-legal carriage return
- '/^.*<body[^>]*>\n*/i', // Anything before <body>
- '/<head[^>]*>.*?<\/head>/i', // <head>
- '/<script[^>]*>.*?<\/script>/i', // <script>
- '/<style[^>]*>.*?<\/style>/i', // <style>
+ '/^.*<body[^>]*>\n*/is', // Anything before <body>
+ '/<head[^>]*>.*?<\/head>/is', // <head>
+ '/<script[^>]*>.*?<\/script>/is', // <script>
+ '/<style[^>]*>.*?<\/style>/is', // <style>
'/[\n\t]+/', // Newlines and tabs
'/<p[^>]*>/i', // <p>
'/<\/p>[\s\n\t]*<div[^>]*>/i', // </p> before <div>
--
Gitblit v1.9.1