Changeset 1186


Ignore:
Timestamp:
02/20/10 09:31:13 (3 years ago)
Author:
shibuya246
Message:

[Branch] add "/" to end of meta description and keywords, W3C valid

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.0/content/plugins/categories/categories.php

    r1180 r1186  
    155155             
    156156            if ($cat_meta->category_desc) { 
    157                 echo '<meta name="description" content="' . urldecode($cat_meta->category_desc) . '">' . "\n"; 
     157                echo '<meta name="description" content="' . urldecode($cat_meta->category_desc) . '" />' . "\n"; 
    158158            } else { 
    159                 echo '<meta name="description" content="' . $h->lang['header_meta_description'] . '">' . "\n";  // default meta tags 
     159                echo '<meta name="description" content="' . $h->lang['header_meta_description'] . '" />' . "\n";  // default meta tags 
    160160            } 
    161161             
    162162            if ($cat_meta->category_keywords) { 
    163                 echo '<meta name="keywords" content="' . urldecode($cat_meta->category_keywords) . '">' . "\n"; 
     163                echo '<meta name="keywords" content="' . urldecode($cat_meta->category_keywords) . '" />' . "\n"; 
    164164            } else { 
    165                 echo '<meta name="description" content="' . $h->lang['header_meta_keywords'] . '">' . "\n";  // default meta tags 
     165                echo '<meta name="description" content="' . $h->lang['header_meta_keywords'] . '" />' . "\n";  // default meta tags 
    166166            } 
    167167 
Note: See TracChangeset for help on using the changeset viewer.