Skip to content

Commit

Permalink
deploy: e88ff57
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Oct 26, 2023
1 parent 0a8d3c7 commit da16382
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions my-calendar-output.php.html
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@
$header .= ( false === stripos( $title, 'summary' ) ) ? ' <span class="summary screen-reader-text">' . strip_tags( $event_title ) . '</span>' : $title;
}

return $header;
return '<header>' . $header . '</header>';
}

/**
Expand All @@ -427,9 +427,9 @@
function mc_wrap_event( $content, $event, $container_id, $type ) {
$event_classes = mc_event_classes( $event, $type );
$parent_id = str_replace( 'details-', '', $container_id );
$header = "<div id='$parent_id' class='$event_classes'>";
$header = "<article id='$parent_id' class='$event_classes'>";

return $header . $content . '</div>';
return $header . $content . '</article>';
}

/**
Expand Down

0 comments on commit da16382

Please sign in to comment.