From f4f0f80d2118437e5047ba266f92d7acb3c38fb7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 11 Apr 2011 16:41:01 +0400 Subject: update HTMLPurifier; enable embedded flash video in articles --- backend.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'backend.php') diff --git a/backend.php b/backend.php index cf80e0e37..9ed250cf5 100644 --- a/backend.php +++ b/backend.php @@ -210,6 +210,13 @@ array_push($articles, format_article($link, $id, false)); } 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"); + + $article = format_article($link, $id, false); + print $article['id'] . "\n\n"; + print $article['content']; + return; } else { catchupArticleById($link, $id, 0); } -- cgit v1.2.3-54-g00ecf