Skip to content

Commit 3636719

Browse files
committed
Fix the read more text link
1 parent 146107c commit 3636719

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: Helper/Config.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* @Author Ngo Quang Cuong <[email protected]>
66
* @Date 2016-12-23 23:54:46
77
* @Last modified by: nquangcuong
8-
* @Last Modified time: 2017-07-14 23:37:23
8+
* @Last Modified time: 2017-07-14 23:44:44
99
*/
1010

1111
namespace PHPCuong\Faq\Helper;
@@ -85,9 +85,9 @@ public function getFaqShortDescription($content, $identifier)
8585
}
8686
}
8787
if (!empty($arg)) {
88+
$arg = $this->findUrlsInText($arg);
8889
$arg = $arg.'... <a href="'.$this->getFaqFullPath($identifier).'">'.__('Read more').'</a>';
8990
}
90-
$arg = $this->findUrlsInText($arg);
9191
return $arg;
9292
}
9393
$content = $this->findUrlsInText($content);

0 commit comments

Comments
 (0)