From 6e2b0c82676f365a40813214e5bc5615f2cb57e3 Mon Sep 17 00:00:00 2001 From: Kyle Mahan Date: Fri, 29 May 2015 15:17:48 -0700 Subject: [PATCH] change hevent to vevent in backcompat code "There was never a class hevent" per @tantek http://indiewebcamp.com/irc/2015-05-29/line/1432937302473 --- Mf2/Parser.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mf2/Parser.php b/Mf2/Parser.php index 14f432b..d0540cf 100644 --- a/Mf2/Parser.php +++ b/Mf2/Parser.php @@ -1060,7 +1060,7 @@ public function query($expression, $context = null) { 'hentry' => 'h-entry', 'hrecipe' => 'h-recipe', 'hresume' => 'h-resume', - 'hevent' => 'h-event', + 'vevent' => 'h-event', 'hreview' => 'h-review', 'hproduct' => 'h-product' ); @@ -1131,7 +1131,7 @@ public function query($expression, $context = null) { 'skill' => 'p-skill', 'affiliation' => 'p-affiliation h-card', ), - 'hevent' => array( + 'vevent' => array( 'dtstart' => 'dt-start', 'dtend' => 'dt-end', 'duration' => 'dt-duration',