From bd689e83da4ce397f04d9bb08b6ce9b7e3f8dbfd Mon Sep 17 00:00:00 2001 From: zero Date: Tue, 19 Jun 2007 02:52:04 +0000 Subject: [PATCH] git-svn-id: http://xe-core.googlecode.com/svn/trunk@1650 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- classes/context/Context.class.php | 11 +++++++++++ modules/blog/skins/xe_blog/layout.html | 9 +++------ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/classes/context/Context.class.php b/classes/context/Context.class.php index aa7a48bac..f9f0091aa 100644 --- a/classes/context/Context.class.php +++ b/classes/context/Context.class.php @@ -777,6 +777,9 @@ $content = preg_replace_callback('!]*)editor_component=([^\>]*)>(.*?)\<\/div\>!is', array($this,'_transEditorComponent'), $content); $content = preg_replace_callback('!]*)editor_component=([^\>]*?)\>!is', array($this,'_transEditorComponent'), $content); + // body 내의 를 header로 이동 + $content = preg_replace_callback('!!is', array($this,'_moveStyleToHeader'), $content); + //
코드 변환 $content = preg_replace('/\/]*)(\/>|>)/i','', $content); @@ -792,6 +795,14 @@ return $content; } + /** + * @brief 내의 addHtmlHeader($matches[0]); + return ''; + } + /** * @brief 내용의 에디터 컴포넌트 코드를 변환 **/ diff --git a/modules/blog/skins/xe_blog/layout.html b/modules/blog/skins/xe_blog/layout.html index 74c182c68..44bb96545 100644 --- a/modules/blog/skins/xe_blog/layout.html +++ b/modules/blog/skins/xe_blog/layout.html @@ -4,12 +4,9 @@ - +