From 1362c52e87caee0770ab398d411dea360d0eac47 Mon Sep 17 00:00:00 2001 From: YJSoft Date: Wed, 22 Oct 2014 13:45:20 +0900 Subject: [PATCH 1/3] =?UTF-8?q?php=205.2=20=EB=8C=80=EC=9D=91=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- syntaxhighlighter.class.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/syntaxhighlighter.class.php b/syntaxhighlighter.class.php index 1f85e24..7cf7747 100644 --- a/syntaxhighlighter.class.php +++ b/syntaxhighlighter.class.php @@ -85,8 +85,9 @@ function transHTML($xml_obj) if($option_highlight) { $option_highlight = preg_replace_callback("/([0-9]{1,})[-]([0-9]{1,})/", - function ($matches) { - $start = (int) $matches[1]; + create_function( + '$matches', + '$start = (int) $matches[1]; $end = (int) $matches[2]; debugPrint($start . "~" . $end); @@ -95,8 +96,8 @@ function ($matches) { $lines[] = $i; } - return implode(",", $lines); - },$option_highlight); + return implode(",", $lines);' + ),$option_highlight); $option[] = 'highlight:['.$option_highlight.']'; } From 8a96cf834ad70e725b943f7843d7d2010a291f78 Mon Sep 17 00:00:00 2001 From: YJSoft Date: Wed, 22 Oct 2014 13:46:15 +0900 Subject: [PATCH 2/3] =?UTF-8?q?php=205.2=20=EB=8B=A4=EC=8B=9C=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index df4ef64..31175f2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ language: php php: + - 5.2 - 5.3 - 5.4 - 5.5 From 4c375932c9bc945c3325676446ca41f68cd04f1e Mon Sep 17 00:00:00 2001 From: YJSoft Date: Wed, 22 Oct 2014 13:48:32 +0900 Subject: [PATCH 3/3] =?UTF-8?q?=EB=B2=84=EC=A0=84=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- info.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/info.xml b/info.xml index a2ba56e..0ce512e 100644 --- a/info.xml +++ b/info.xml @@ -3,16 +3,16 @@ Syntax Highlighter Syntax Highlighter 코드를 보기 좋게 출력합니다. - 1.4 - 2014-10-20 + 1.1 + 2014-10-22 MIT, GNU LGPL http://xmz.kr/ - - YJSoft - YJSoft - YJSoft - + + YJSoft + YJSoft + YJSoft + BNU