]> git.mxchange.org Git - friendica.git/commitdiff
Some empty lines
authorRoland Häder <roland@mxchange.org>
Sun, 26 Jun 2022 23:16:35 +0000 (01:16 +0200)
committerRoland Häder <roland@mxchange.org>
Mon, 27 Jun 2022 13:16:17 +0000 (15:16 +0200)
src/Content/Text/BBCode.php

index 64ea2edd3cf2c25d61598349f858a296d793a384..2c4226dc1272c43e271690fb8b22f980f19f8442 100644 (file)
@@ -187,26 +187,31 @@ class BBCode
                                        case 'publisher_name':
                                                $data['provider_name'] = html_entity_decode($value, ENT_QUOTES, 'UTF-8');
                                                break;
+
                                        case 'publisher_url':
                                                $data['provider_url'] = html_entity_decode($value, ENT_QUOTES, 'UTF-8');
                                                break;
+
                                        case 'author_name':
                                                $data['author_name'] = html_entity_decode($value, ENT_QUOTES, 'UTF-8');
                                                if ($data['provider_name'] == $data['author_name']) {
                                                        $data['author_name'] = '';
                                                }
                                                break;
+
                                        case 'author_url':
                                                $data['author_url'] = html_entity_decode($value, ENT_QUOTES, 'UTF-8');
                                                if ($data['provider_url'] == $data['author_url']) {
                                                        $data['author_url'] = '';
                                                }
                                                break;
+
                                        case 'title':
                                                $value = self::convert(html_entity_decode($value, ENT_QUOTES, 'UTF-8'), false, true);
                                                $value = html_entity_decode($value, ENT_QUOTES, 'UTF-8');
                                                $value = str_replace(['[', ']'], ['&#91;', '&#93;'], $value);
                                                $data['title'] = $value;
+
                                        default:
                                                $data[$field] = html_entity_decode($value, ENT_QUOTES, 'UTF-8');
                                                break;