summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2015-03-29 16:14:44 -0400
committerDavid Rothstein <drothstein@gmail.com>2015-03-29 16:14:44 -0400
commit26d794fac95c9bfbdffe24cd9028d7e338717159 (patch)
tree3ec4e36a1986b793c9b1a921c73c7ac3bd7370c5 /includes
parentc4164898def11c956348750c9b41fdbb06ddb069 (diff)
downloadbrdo-26d794fac95c9bfbdffe24cd9028d7e338717159.tar.gz
brdo-26d794fac95c9bfbdffe24cd9028d7e338717159.tar.bz2
Issue #1904528 by Heine, GoddamnNoise: Language switcher (User interface text) Block generates invalid XHTML+RDFa 1.0
Diffstat (limited to 'includes')
-rw-r--r--includes/language.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/language.inc b/includes/language.inc
index 803a63041..24267d8a1 100644
--- a/includes/language.inc
+++ b/includes/language.inc
@@ -297,7 +297,7 @@ function language_negotiation_get_switch_links($type, $path) {
// Add support for WCAG 2.0's Language of Parts to add language identifiers.
// http://www.w3.org/TR/UNDERSTANDING-WCAG20/meaning-other-lang-id.html
foreach ($result as $langcode => $link) {
- $result[$langcode]['attributes']['lang'] = $langcode;
+ $result[$langcode]['attributes']['xml:lang'] = $langcode;
}
if (!empty($result)) {