From fea110db5bd2339222f8d2ce1514b3de3c2bdde6 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Thu, 22 Dec 2011 13:35:37 +0000 Subject: [PATCH] apply CSS::Janus when user preview its CSS style follow up r94421 --- includes/OutputPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index ffe36db6c1..bff481effd 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -3187,7 +3187,7 @@ $templates array( 'excludepage' => $this->getTitle()->getPrefixedDBkey() ) ); // Load the previewed CSS - $otherTags .= Html::inlineStyle( $this->getRequest()->getText( 'wpTextbox1' ) ); + $this->addInlineStyle( $this->getRequest()->getText( 'wpTextbox1' ) ); } else { // Load the user styles normally $moduleStyles[] = 'user'; -- 2.20.1