Commit cc453cc5 authored by catch's avatar catch
Browse files

Issue #1190214 by stijnbe, aspilicious: Convert user-profile.tpl.php to HTML5.

parent deec92a8
......@@ -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'));
......
......@@ -28,6 +28,6 @@
* @see template_preprocess_user_profile()
*/
?>
<div class="profile"<?php print $attributes; ?>>
<article class="profile"<?php print $attributes; ?>>
<?php print render($user_profile); ?>
</div>
</article>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment