From f5aa92ecda3e960c54c479155ae45ea7dd737d5a Mon Sep 17 00:00:00 2001 From: epriestley Date: Thu, 14 Feb 2013 13:09:47 -0800 Subject: [PATCH] Fix Phame escaping issue Summary: Fixes blog.phacility.com, etc. There's bascially no plausible way we can do better here, especially once we get the Wordpress "API" up and running. Test Plan: patched secure.phabricator.com live Reviewers: vrana Reviewed By: vrana CC: aran Differential Revision: https://secure.phabricator.com/D4958 --- src/applications/phame/skins/PhameBasicTemplateBlogSkin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/phame/skins/PhameBasicTemplateBlogSkin.php b/src/applications/phame/skins/PhameBasicTemplateBlogSkin.php index 7ccd2cffe9..14e4f744e0 100644 --- a/src/applications/phame/skins/PhameBasicTemplateBlogSkin.php +++ b/src/applications/phame/skins/PhameBasicTemplateBlogSkin.php @@ -75,7 +75,7 @@ final class PhameBasicTemplateBlogSkin extends PhameBasicBlogSkin { require $this->getPath($__template__); } - return ob_get_clean(); + return phutil_safe_html(ob_get_clean()); } private function getDefaultScope() {