Skip to content

Commit

Permalink
Fix the read more text link
Browse files Browse the repository at this point in the history
  • Loading branch information
php-cuong committed Jul 14, 2017
1 parent 146107c commit 3636719
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Helper/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @Author Ngo Quang Cuong <[email protected]>
* @Date 2016-12-23 23:54:46
* @Last modified by: nquangcuong
* @Last Modified time: 2017-07-14 23:37:23
* @Last Modified time: 2017-07-14 23:44:44
*/

namespace PHPCuong\Faq\Helper;
Expand Down Expand Up @@ -85,9 +85,9 @@ public function getFaqShortDescription($content, $identifier)
}
}
if (!empty($arg)) {
$arg = $this->findUrlsInText($arg);
$arg = $arg.'... <a href="'.$this->getFaqFullPath($identifier).'">'.__('Read more').'</a>';
}
$arg = $this->findUrlsInText($arg);
return $arg;
}
$content = $this->findUrlsInText($content);
Expand Down

0 comments on commit 3636719

Please sign in to comment.