summaryrefslogtreecommitdiff
path: root/themes/xtemplate/xtemplate.theme
diff options
context:
space:
mode:
Diffstat (limited to 'themes/xtemplate/xtemplate.theme')
-rw-r--r--themes/xtemplate/xtemplate.theme6
1 files changed, 2 insertions, 4 deletions
diff --git a/themes/xtemplate/xtemplate.theme b/themes/xtemplate/xtemplate.theme
index 60d51406f..4d23996fa 100644
--- a/themes/xtemplate/xtemplate.theme
+++ b/themes/xtemplate/xtemplate.theme
@@ -35,9 +35,7 @@ class Theme_xtemplate extends BaseTheme {
"title" => ucfirst($node->title),
"author" => format_name($node),
"date" => format_date($node->created),
- "content" => ($main && $node->teaser) ?
- check_output($node->teaser) :
- check_output($node->body)));
+ "content" => ($main && $node->teaser) ? $node->teaser : $node->body));
if ($taxonomy = taxonomy_link("taxonomy terms", $node)) {
$this->template->assign("taxonomy", $this->links($taxonomy));
@@ -57,7 +55,7 @@ class Theme_xtemplate extends BaseTheme {
"title" => ucfirst($comment->subject),
"author" => format_name($comment),
"date" => format_date($comment->timestamp),
- "content" => check_output($comment->comment),
+ "content" => $comment->comment,
"links" => $link));
if ($comment->new) {