mirror of
https://github.com/danpros/htmly.git
synced 2026-04-18 11:36:20 +05:30
Update functions.php
This commit is contained in:
parent
7ff6152ab5
commit
0167cdf4b5
1 changed files with 1 additions and 1 deletions
|
|
@ -2262,7 +2262,7 @@ function shorten($string = null, $char = null)
|
|||
if(empty($string)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$string = str_replace('<span class="details">'. config('toc.label') .'</span>', '', $string);
|
||||
libxml_use_internal_errors(true);
|
||||
$dom = new DOMDocument();
|
||||
$dom->loadHTML('<meta charset="utf8">' . $string);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue