]> git.mxchange.org Git - friendica.git/commitdiff
Whitespace removed
authorMichael <heluecht@pirati.ca>
Fri, 7 Oct 2022 07:55:44 +0000 (07:55 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 7 Oct 2022 07:55:44 +0000 (07:55 +0000)
mod/item.php
src/Content/Text/BBCode.php

index 4dc1d77ce31708fc7541b7f7d585d9987a9dfec3..6c01cdbc1852b234dcdd15aa58d85dbed78eeb35 100644 (file)
@@ -401,7 +401,7 @@ function item_post(App $a) {
                $body              = $item['body'];
                $inform            = $item['inform'];
                $postopts          = $item['postopts'];
-               $private           = $item['private']; 
+               $private           = $item['private'];
                $str_contact_allow = $item['allow_cid'];
                $str_group_allow   = $item['allow_gid'];
                $str_contact_deny  = $item['deny_cid'];
index fe2e94c68425c782ccc9c9fcc25dedaa46662fa0..bef48dcac8971350af7f0c2b18fc78633cbd5fa8 100644 (file)
@@ -294,7 +294,7 @@ class BBCode
                // Simplify image codes
                $post['text'] = preg_replace("/\[img\=([0-9]*)x([0-9]*)\](.*?)\[\/img\]/ism", '[img]$3[/img]', $post['text']);
                $post['text'] = preg_replace("/\[img\=(.*?)\](.*?)\[\/img\]/ism", '[img]$1[/img]', $post['text']);
-               
+
                // if nothing is found, it maybe having an image.
                if (!isset($post['type'])) {
                        if (preg_match_all("#\[url=([^\]]+?)\]\s*\[img\]([^\[]+?)\[/img\]\s*\[/url\]#ism", $post['text'], $pictures, PREG_SET_ORDER)) {