diff options
author | David Rothstein <drothstein@gmail.com> | 2015-03-29 16:14:44 -0400 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2015-03-29 16:14:44 -0400 |
commit | 26d794fac95c9bfbdffe24cd9028d7e338717159 (patch) | |
tree | 3ec4e36a1986b793c9b1a921c73c7ac3bd7370c5 /includes | |
parent | c4164898def11c956348750c9b41fdbb06ddb069 (diff) | |
download | brdo-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.inc | 2 |
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)) { |