From fcfa9ef15b641f818f3473d2b60d1c1328aef564 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 19 Apr 2011 13:20:59 +0400 Subject: rework article notes; re-add built-in XSL template for generated feeds; remove schema_version caching in session --- backend.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'backend.php') diff --git a/backend.php b/backend.php index 3fa369397..72535113b 100644 --- a/backend.php +++ b/backend.php @@ -211,10 +211,12 @@ } else if ($mode == "zoom") { array_push($articles, format_article($link, $id, false, true, true)); } else if ($mode == "raw") { - if ($_REQUEST['html']) header("Content-Type: text/html"); + if ($_REQUEST['html']) { + header("Content-Type: text/html"); + print ''; + } $article = format_article($link, $id, false); - print $article['id'] . "\n\n"; print $article['content']; return; } else { -- cgit v1.2.3-54-g00ecf