mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 14:37:02 +03:00
Keep one space between html elements
This commit is contained in:
parent
37938d82b8
commit
e7608821da
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ class Utils
|
||||||
public static function ClearHtmlOutput(string $sHtml) : string
|
public static function ClearHtmlOutput(string $sHtml) : string
|
||||||
{
|
{
|
||||||
// return $sHtml;
|
// return $sHtml;
|
||||||
return \preg_replace('/>\\s+</', '><', \preg_replace(
|
return \preg_replace('/>\\s+</', '> <', \preg_replace(
|
||||||
['@\\s*/>@', '/\\s* /i', '/ \\s*/i', '/[\\r\\n\\t]+/'],
|
['@\\s*/>@', '/\\s* /i', '/ \\s*/i', '/[\\r\\n\\t]+/'],
|
||||||
['>', "\xC2\xA0", "\xC2\xA0", ' '],
|
['>', "\xC2\xA0", "\xC2\xA0", ' '],
|
||||||
\trim($sHtml)
|
\trim($sHtml)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue