From cc453cc5b370b9b1b4502c0b861a4ae6cd628f00 Mon Sep 17 00:00:00 2001 From: Nathaniel Date: Thu, 17 Nov 2011 15:24:57 +0900 Subject: [PATCH] Issue #1190214 by stijnbe, aspilicious: Convert user-profile.tpl.php to HTML5. --- core/modules/rdf/rdf.test | 2 +- core/modules/user/user-profile.tpl.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/modules/rdf/rdf.test b/core/modules/rdf/rdf.test index c05127ef7c7..1344ded866c 100644 --- a/core/modules/rdf/rdf.test +++ b/core/modules/rdf/rdf.test @@ -360,7 +360,7 @@ class RdfMappingDefinitionTestCase extends TaxonomyWebTestCase { $account_uri = url('user/' . $user2->uid); $person_uri = url('user/' . $user2->uid, array('fragment' => 'me')); - $user2_profile_about = $this->xpath('//div[@class="profile" and @typeof="sioc:UserAccount" and @about=:account-uri]', array( + $user2_profile_about = $this->xpath('//article[@class="profile" and @typeof="sioc:UserAccount" and @about=:account-uri]', array( ':account-uri' => $account_uri, )); $this->assertTrue(!empty($user2_profile_about), t('RDFa markup found on user profile page')); diff --git a/core/modules/user/user-profile.tpl.php b/core/modules/user/user-profile.tpl.php index 24c54cdc412..940d47f963c 100644 --- a/core/modules/user/user-profile.tpl.php +++ b/core/modules/user/user-profile.tpl.php @@ -28,6 +28,6 @@ * @see template_preprocess_user_profile() */ ?> -
> +
> -
+