[mb-commits] branch, beta, updated. "about" is not a valid HTML5 attribute, but we still use it for RDFa. For now...
MusicBrainz Git Server <[email protected]>
| Newsgroups | gmane.comp.audio.musicbrainz.cvs |
|---|---|
| Message-ID | <E1TYJVb-0005Rd-EB@wiley> |
The branch, beta has been updated
via http://git.musicbrainz.org/gitweb/?p=musicbrainz-server/core.git;a=commit;h=8e889a6bf96bbf63f512b207fcee1ec97e45cd89 (commit)
from http://git.musicbrainz.org/gitweb/?p=musicbrainz-server/core.git;a=commit;h=76dbf142e767d7dfc20309b45a67f67916849b8e (commit)
Summary of changes:
lib/MusicBrainz/Server/Test/HTML5.pm | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 8e889a6bf96bbf63f512b207fcee1ec97e45cd89
Author: warp <[email protected]>
Date: Tue Nov 13 17:37:50 2012 +0100
"about" is not a valid HTML5 attribute, but we still use it for RDFa. For now, ignore the invalid html5 error messages from the validator about this.
diff --git a/lib/MusicBrainz/Server/Test/HTML5.pm b/lib/MusicBrainz/Server/Test/HTML5.pm
index 47b3c4f..0897e14 100644
--- a/lib/MusicBrainz/Server/Test/HTML5.pm
+++ b/lib/MusicBrainz/Server/Test/HTML5.pm
@@ -52,6 +52,9 @@ Currently we ignore the following warnings:
These are problems with how our HTML is structured, and these should
be fixed. See MBS-xxxx.
+ 10. about attribute
+ Not a valid attribute in HTML5, but used by RDFa.
+
=cut
sub ignore_warning
@@ -67,7 +70,8 @@ sub ignore_warning
'^Bad value .* for attribute .rel. on element',
'^An .img. element must have an .alt. attribute',
'^Element .input. with attribute .type. whose value is .button.',
- '^Element .* not allowed as child of element .* in this context.'
+ '^Element .* not allowed as child of element .* in this context.',
+ '^Attribute .about. not allowed on element',
);
for my $test (@ignored)
-----------------------------------------------------------------------
hooks/post-receive
--
mb_server