diff options
Diffstat (limited to 'modules/rdf')
-rw-r--r-- | modules/rdf/rdf.module | 4 |
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 |