- Affected version
- 2.2.5
Hi,
I just updated one of our forums to 2.2.5 and did a standard W3C Validator check afterwards this which reported an error message concerning the message_macros template:
The corresponding code line is
If I have a look at the source code rendered by this in the browser I see
Note that itemprop="name" appears twice in the <a> tag which is also the error message of the W3C validator.
I just updated one of our forums to 2.2.5 and did a standard W3C Validator check afterwards this which reported an error message concerning the message_macros template:
The corresponding code line is
Code:
<div class="message-userDetails">
<h4 class="message-name"><xf:username user="$user" rich="true" defaultname="{$fallbackName}" itemprop="name" /></h4>
If I have a look at the source code rendered by this in the browser I see
HTML:
<div class="message-userDetails">
<h4 class="message-name"><a href="/members/someuser.123/" class="username " dir="auto" itemprop="name" data-user-id="123" data-xf-init="member-tooltip" itemprop="name">SomeUser</a></h4>
Note that itemprop="name" appears twice in the <a> tag which is also the error message of the W3C validator.