diff options
author | Max Kostikov <max@kostikov.co> | 2021-01-20 13:15:40 +0100 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2021-01-20 13:15:40 +0100 |
commit | 9612a69a6448331ae3296503e97ef6ce204d9be1 (patch) | |
tree | afae1ea1fa8c63db4c23836e0ebfe57b56b808ec /include/html2plain.php | |
parent | 308e94ea799b7851287fbc7635480ac13bfe3c61 (diff) | |
parent | 08264f8d11d349bbda92233d984ad52c16c6b2d6 (diff) | |
download | volse-hubzilla-9612a69a6448331ae3296503e97ef6ce204d9be1.tar.gz volse-hubzilla-9612a69a6448331ae3296503e97ef6ce204d9be1.tar.bz2 volse-hubzilla-9612a69a6448331ae3296503e97ef6ce204d9be1.zip |
Merge branch 'dev' into 'dev'
Dev sync
See merge request kostikov/core!1
Diffstat (limited to 'include/html2plain.php')
-rw-r--r-- | include/html2plain.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/html2plain.php b/include/html2plain.php index 979354079..fde70bd01 100644 --- a/include/html2plain.php +++ b/include/html2plain.php @@ -40,7 +40,7 @@ function breaklines($line, $level, $wraplength = 75) $newlines[] = $line; - return(implode($newlines, "\n")); + return(implode("\n", $newlines)); } function quotelevel($message, $wraplength = 75) @@ -73,7 +73,7 @@ function quotelevel($message, $wraplength = 75) if (!$startquote or ($line != '')) $newlines[] = breaklines($line, $currlevel, $wraplength); } - return(implode($newlines, "\n")); + return(implode("\n", $newlines)); } function collecturls($message) { |