diff options
-rwxr-xr-x | custom/views/default/index.tpl.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/custom/views/default/index.tpl.php b/custom/views/default/index.tpl.php index 2a5827f..45303d5 100755 --- a/custom/views/default/index.tpl.php +++ b/custom/views/default/index.tpl.php @@ -41,8 +41,7 @@ header('Content-type: text/html; charset=UTF-8'); <a href="<?php echo $item->get_permalink(); ?>" title="Go to original place"><?php echo $item->get_title(); ?></a> </h2> <p class="article-info"> - - <?php echo ($item->get_author()? $item->get_author()->get_name() : 'Anonymous'); ?>, + <?php echo strip_tags(($item->get_author()? $item->get_author()->get_name() : 'Anonymous')); ?>, <?php $ago = time() - $item->get_date('U'); //echo '<span title="'.Duration::toString($ago).' ago" class="date">'.date('d/m/Y', $item->get_date('U')).'</span>'; |