[HaveIBeenPwnedBridge] Convert HTML entities to characters (#1198)
This commit is contained in:
parent
e2460ead18
commit
c39e642877
1 changed files with 2 additions and 1 deletions
|
@ -52,7 +52,8 @@ class HaveIBeenPwnedBridge extends BridgeAbstract {
|
|||
// Remove permalink
|
||||
$breach->find('p', 1)->find('a', 0)->outertext = '';
|
||||
|
||||
$item['title'] = $breach->find('h3', 0)->plaintext . ' - ' . $accounts[1] . ' breached accounts';
|
||||
$item['title'] = html_entity_decode($breach->find('h3', 0)->plaintext, ENT_QUOTES)
|
||||
. ' - ' . $accounts[1] . ' breached accounts';
|
||||
$item['dateAdded'] = strtotime($dateAdded[1]);
|
||||
$item['breachDate'] = strtotime($breachDate[1]);
|
||||
$item['uri'] = self::URI . '/PwnedWebsites' . $permalink;
|
||||
|
|
Loading…
Reference in a new issue