From: Antoine Musso Date: Thu, 22 Dec 2011 13:35:37 +0000 (+0000) Subject: apply CSS::Janus when user preview its CSS style X-Git-Tag: 1.31.0-rc.0~25804 X-Git-Url: http://git.cyclocoop.org/%24dirpuce/puce%24spip_lang_rtl.gif?a=commitdiff_plain;h=fea110db5bd2339222f8d2ce1514b3de3c2bdde6;p=lhc%2Fweb%2Fwiklou.git apply CSS::Janus when user preview its CSS style follow up r94421 --- 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';