We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d03611 commit 04aadf2Copy full SHA for 04aadf2
Mf2/Parser.php
@@ -1157,12 +1157,12 @@ public function parseImpliedPhoto(\DOMElement $e) {
1157
1158
// img.h-x[src]
1159
if ($e->tagName == 'img') {
1160
- return $e->getAttribute('src');
+ return $this->resolveUrl($e->getAttribute('src'));
1161
}
1162
1163
// object.h-x[data]
1164
if ($e->tagName == 'object' && $e->hasAttribute('data')) {
1165
- return $e->getAttribute('data');
+ return $this->resolveUrl($e->getAttribute('data'));
1166
1167
1168
$xpaths = array(
0 commit comments