Skip to content

Commit

Permalink
Add failing test and fix for #184
Browse files Browse the repository at this point in the history
  • Loading branch information
gRegorLove committed May 7, 2020
1 parent daf09fb commit b687a87
Show file tree
Hide file tree
Showing 2 changed files with 367 additions and 340 deletions.
2 changes: 1 addition & 1 deletion Mf2/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -1607,7 +1607,7 @@ public function backcompat(DOMElement $el, $context = '', $isParentMf2 = false)
if ( $location->length ) {
foreach ( $location as $tempEl ) {
if ( !$this->hasRootMf2($tempEl) ) {
$this->addMfClasses($tempEl, 'h-card');
$this->addMfClasses($tempEl, 'p-location h-card');
$this->backcompat($tempEl, 'vcard');
}
}
Expand Down
Loading

0 comments on commit b687a87

Please sign in to comment.