]> git.mjollnir.org Git - s9y.git/commitdiff
fix html issue, patch by sebastian raible
authorgarvinhicking <garvinhicking>
Thu, 15 Dec 2005 20:20:30 +0000 (20:20 +0000)
committergarvinhicking <garvinhicking>
Thu, 15 Dec 2005 20:20:30 +0000 (20:20 +0000)
plugins/serendipity_plugin_remoterss/serendipity_plugin_remoterss.php

index 08fe308945bbba26640709750a65089f7220fae3..0c4313b6cca3ad261740944455dfa15ef0366b70 100644 (file)
@@ -520,13 +520,13 @@ class serendipity_plugin_remoterss extends serendipity_plugin {
                             }
 
                             if ($blogrolling === true && (!empty($text) || !empty($url))) {
-                                $content .= '&bull; <a href="' . $url . (!empty($target) ? 'target="'.$target.'"' : '') . ' title="' . $text . '">' . htmlspecialchars($text) . "</a>";
+                                $content .= '&bull; <a href="' . $url . '" ' . (!empty($target) ? 'target="'.$target.'"' : '') . ' title="' . $text . '">' . htmlspecialchars($text) . "</a>";
                                 if (isset($item['isRecent'])) {
                                     $content .= ' <span style="color: Red; ">*</span>';
                                 }
                                 $content .= "<br />";
                             } elseif ((isset($item['type']) && $item['type'] == 'url') || !empty($url)) {
-                                $content .= '&bull; <a href="' .$url . (!empty($target) ? 'target="'.$target.'"' : '') . ' title="' . $text . '">' . $text . "</a>";
+                                $content .= '&bull; <a href="' .$url . '" ' . (!empty($target) ? 'target="'.$target.'"' : '') . ' title="' . $text . '">' . $text . "</a>";
                                 $content .= "<br />";
                             }
                             ++$i;