mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 03:29:20 +03:00
Probably solution for #462 ?
This commit is contained in:
parent
efc3327cec
commit
f7555abed7
1 changed files with 2 additions and 2 deletions
|
|
@ -31,7 +31,7 @@ abstract class HtmlUtils
|
|||
$sHtml = \str_replace('<o:p></o:p>', '', $sHtml);
|
||||
$sHtml = \str_replace('<o:p>', '<span>', $sHtml);
|
||||
$sHtml = \str_replace('</o:p>', '</span>', $sHtml);
|
||||
|
||||
/*
|
||||
if (\function_exists('tidy_repair_string')) {
|
||||
# http://tidy.sourceforge.net/docs/quickref.html
|
||||
$tidyConfig = array(
|
||||
|
|
@ -44,7 +44,7 @@ abstract class HtmlUtils
|
|||
);
|
||||
$sHtml = \tidy_repair_string($sHtml, $tidyConfig, 'utf8');
|
||||
}
|
||||
|
||||
*/
|
||||
$sHtml = \preg_replace(array(
|
||||
'/<p[^>]*><\/p>/i',
|
||||
'/<!doctype[^>]*>/i',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue