Skip to content

Commit 39d4240

Browse files
committed
refs #1543
* 버그 수정
1 parent 28299ea commit 39d4240

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

plugins/WikiCube/index.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ function WikiCube_FormatContent($target, $mother) {
3333

3434
$context = Model_Context::getInstance();
3535
$pattern = array(
36-
'/\[\[(.*?)|(.*?)\]\]/' => '<a href="'.$context->getProperty('uri.blog').'/'.$config['mode'].'/$2'.'">$1</a>',
36+
'/\[\[(.*?)\|(.*?)\]\]/' => '<a href="'.$context->getProperty('uri.blog').'/'.$config['mode'].'/$2'.'">$1</a>',
3737
'/\[\[tg:(.*?)\]\]/' => '<a href="'.$context->getProperty('uri.blog').'/tag/$1'.'">$1</a>',
38-
'/\[\[ct:(.*?)\]\]/' => '<a href="'.$context->getProperty('uri.blog').'/category/$1'.'">$1</a>'
38+
'/\[\[ct:(.*?)\]\]/' => '<a href="'.$context->getProperty('uri.blog').'/category/$1'.'">$1</a>',
3939
'/\[\[(.*?)\]\]/' => '<a href="'.$context->getProperty('uri.blog').'/'.$config['mode'].'/$1'.'">$1</a>'
4040
);
4141
foreach ($pattern as $original => $replaced)

plugins/WikiCube/index.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<plugin version="2.0">
33
<title xml:lang="en">WikiCube</title>
44
<title xml:lang="ko">WikiCube</title>
5-
<version>0.12</version>
5+
<version>0.13</version>
66
<description xml:lang="en">Add Wiki-like environment to Textcube.</description>
77
<description xml:lang="ko"><![CDATA[위키식의 사용 기능을 텍스트큐브에 추가합니다.]]></description>
88
<license>GPL</license>

0 commit comments

Comments
 (0)