summaryrefslogtreecommitdiff
path: root/modules/rdf
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2014-11-01 12:42:04 -0400
committerDavid Rothstein <drothstein@gmail.com>2014-11-01 12:42:04 -0400
commitfa2e36b863eecea32852d3a7f374680736c87732 (patch)
tree381feee77305b84220d839230a4e431a0d7b703b /modules/rdf
parent5f380f922531255efe95ee443606379dcac2fc9e (diff)
downloadbrdo-fa2e36b863eecea32852d3a7f374680736c87732.tar.gz
brdo-fa2e36b863eecea32852d3a7f374680736c87732.tar.bz2
Issue #2301955 by er.pushpinderrana, lokapujya | scor: Ensure RDFa metadata tags are hidden.
Diffstat (limited to 'modules/rdf')
-rw-r--r--modules/rdf/rdf.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/rdf/rdf.module b/modules/rdf/rdf.module
index 877b598cd..e126d9c2c 100644
--- a/modules/rdf/rdf.module
+++ b/modules/rdf/rdf.module
@@ -865,9 +865,9 @@ function theme_rdf_metadata($variables) {
$output = '';
foreach ($variables['metadata'] as $attributes) {
// Add a class so that developers viewing the HTML source can see why there
- // are empty <span> tags in the document. The class can also be used to set
- // a CSS display:none rule in a theme where empty spans affect display.
+ // are empty <span> tags in the document.
$attributes['class'][] = 'rdf-meta';
+ $attributes['class'][] = 'element-hidden';
// The XHTML+RDFa doctype allows either <span></span> or <span /> syntax to
// be used, but for maximum browser compatibility, W3C recommends the
// former when serving pages using the text/html media type, see