Skip to content

Commit

Permalink
refs #1543
Browse files Browse the repository at this point in the history
  * 버그 수정
  • Loading branch information
inureyes committed Jan 9, 2011
1 parent 28299ea commit 39d4240
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions plugins/WikiCube/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ function WikiCube_FormatContent($target, $mother) {

$context = Model_Context::getInstance();
$pattern = array(
'/\[\[(.*?)|(.*?)\]\]/' => '<a href="'.$context->getProperty('uri.blog').'/'.$config['mode'].'/$2'.'">$1</a>',
'/\[\[(.*?)\|(.*?)\]\]/' => '<a href="'.$context->getProperty('uri.blog').'/'.$config['mode'].'/$2'.'">$1</a>',
'/\[\[tg:(.*?)\]\]/' => '<a href="'.$context->getProperty('uri.blog').'/tag/$1'.'">$1</a>',
'/\[\[ct:(.*?)\]\]/' => '<a href="'.$context->getProperty('uri.blog').'/category/$1'.'">$1</a>'
'/\[\[ct:(.*?)\]\]/' => '<a href="'.$context->getProperty('uri.blog').'/category/$1'.'">$1</a>',
'/\[\[(.*?)\]\]/' => '<a href="'.$context->getProperty('uri.blog').'/'.$config['mode'].'/$1'.'">$1</a>'
);
foreach ($pattern as $original => $replaced)
Expand Down
2 changes: 1 addition & 1 deletion plugins/WikiCube/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<plugin version="2.0">
<title xml:lang="en">WikiCube</title>
<title xml:lang="ko">WikiCube</title>
<version>0.12</version>
<version>0.13</version>
<description xml:lang="en">Add Wiki-like environment to Textcube.</description>
<description xml:lang="ko"><![CDATA[위키식의 사용 기능을 텍스트큐브에 추가합니다.]]></description>
<license>GPL</license>
Expand Down

0 comments on commit 39d4240

Please sign in to comment.