From: Roan Kattouw Date: Wed, 4 Jan 2012 17:15:25 +0000 (+0000) Subject: Revert r107066, see CR comments for full rationale. Basically this moves the previewe... X-Git-Tag: 1.31.0-rc.0~25536 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=b8a69660472a060279817f4544020e8a39d9aa86;p=lhc%2Fweb%2Fwiklou.git Revert r107066, see CR comments for full rationale. Basically this moves the previewed CSS to the wrong place in the while not actually applying Janus --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index f975a1f327..05b3bf0e76 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -3196,7 +3196,7 @@ $templates array( 'excludepage' => $this->getTitle()->getPrefixedDBkey() ) ); // Load the previewed CSS - $this->addInlineStyle( $this->getRequest()->getText( 'wpTextbox1' ) ); + $otherTags .= Html::inlineStyle( $this->getRequest()->getText( 'wpTextbox1' ) ); } else { // Load the user styles normally $moduleStyles[] = 'user';