Skip to content

Commit

Permalink
[Improved] Added html_entity_decode() to the _cleanupText() method
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Sep 6, 2016
1 parent 7bbd39f commit 3ff5427
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ Some things to do, and ideas for potential features:
### 1.1.36 -- 2016.09.07

* [Fixed] SEOmetrics will now work if `open_basedir` is set
* [Improved] Added html_entity_decode() to the _cleanupText() method
* [Fixed] Fixed an `Integrity constraint violation` MySQL error on certain MySQL versions
* [Improved] Updated the README.md

### 1.1.35 -- 2016.09.06

* [Fixed] Fixed a regression that would cause Twitter and Facebook images to not show up
* [Improved] Added html_entity_decode() to the _cleanupText() method
* [Fixed] Fixed an `Integrity constraint violation` MySQL error on certain MySQL versions
* [Improved] Updated the README.md

### 1.1.34 -- 2016.09.05
Expand Down
2 changes: 1 addition & 1 deletion services/SeomaticService.php
Original file line number Diff line number Diff line change
Expand Up @@ -3095,7 +3095,7 @@ private function _cleanupText($text = null)

/* -- remove excess whitespace */

$text = preg_replace('/\s+/', ' ', $text);
$text = preg_replace('/\s{2,}/', ' ', $text);

$text = html_entity_decode($text);
return $text;
Expand Down

0 comments on commit 3ff5427

Please sign in to comment.