Fix bug #3396727: Title of http://lesscss.org/ not loaded
This commit is contained in:
parent
a9df65da08
commit
d6d44c6cfa
2 changed files with 4 additions and 0 deletions
|
@ -18,6 +18,7 @@ ChangeLog for SemantiScuttle
|
||||||
- Fix bug: Invalid HTML when website thumbnails are activated
|
- Fix bug: Invalid HTML when website thumbnails are activated
|
||||||
- Fix bug #3413459: Thumbnails not in one line
|
- Fix bug #3413459: Thumbnails not in one line
|
||||||
- Fix bug #3468293: Delicious import does not preserve private links
|
- Fix bug #3468293: Delicious import does not preserve private links
|
||||||
|
- Fix bug #3396727: Title of http://lesscss.org/ not loaded
|
||||||
- Implement request #3403609: fr_CA translation update
|
- Implement request #3403609: fr_CA translation update
|
||||||
- Implement patch #3476011: PostgreSQL tables can not be initialized
|
- Implement patch #3476011: PostgreSQL tables can not be initialized
|
||||||
(Frédéric Fauberteau [triaxx])
|
(Frédéric Fauberteau [triaxx])
|
||||||
|
|
|
@ -50,7 +50,10 @@ function getTitle($url) {
|
||||||
$title = @mb_convert_encoding($title, 'UTF-8', $encoding);
|
$title = @mb_convert_encoding($title, 'UTF-8', $encoding);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$title = trim($title);
|
||||||
|
|
||||||
if (utf8_strlen($title) > 0) {
|
if (utf8_strlen($title) > 0) {
|
||||||
|
$title = html_entity_decode($title, ENT_QUOTES, 'UTF-8');
|
||||||
return $title;
|
return $title;
|
||||||
} else {
|
} else {
|
||||||
// No title, so return filename
|
// No title, so return filename
|
||||||
|
|
Loading…
Reference in a new issue