]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Blog/classes/Blog_entry.php
Unifying HTML stripping functions to common_strip_html
[quix0rs-gnu-social.git] / plugins / Blog / classes / Blog_entry.php
index 5e0effcc74e8c2fc7fbc27795bc8291d398e459c..20bf4da83f6f12bdd98dbd16b4ab7cfecb6ab472 100644 (file)
@@ -174,10 +174,10 @@ class Blog_entry extends Managed_DataObject
                 XMLStringer::estring('a', array('href' => $url,
                                                 'class' => 'blog-entry'),
                                      _('More...'));
-            $text = html_entity_decode(strip_tags($be->summary), ENT_QUOTES, 'UTF-8');
+            $text = common_strip_html($be->summary);
         } else {
             $options['rendered'] = $be->content;
-            $text = html_entity_decode(strip_tags($be->content), ENT_QUOTES, 'UTF-8');
+            $text = common_strip_html($be->content);
         }