summaryrefslogtreecommitdiff
path: root/bridges/DanbooruBridge.php
diff options
context:
space:
mode:
Diffstat (limited to 'bridges/DanbooruBridge.php')
-rw-r--r--bridges/DanbooruBridge.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/DanbooruBridge.php b/bridges/DanbooruBridge.php
index 755399f..ea4b2be 100644
--- a/bridges/DanbooruBridge.php
+++ b/bridges/DanbooruBridge.php
@@ -40,7 +40,7 @@ class DanbooruBridge extends BridgeAbstract {
defaultLinkTo($element, $this->getURI());
$item = array();
- $item['uri'] = $element->find('a', 0)->href;
+ $item['uri'] = html_entity_decode($element->find('a', 0)->href);
$item['postid'] = (int)preg_replace('/[^0-9]/', '', $element->getAttribute(static::IDATTRIBUTE));
$item['timestamp'] = time();
$thumbnailUri = $element->find('img', 0)->src;