Dotclear

Changeset 2775:9ce4c03d5637 for inc


Ignore:
Timestamp:
11/10/14 16:06:46 (11 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Encode XML for category description in meta attribute (head), fixes #1977

Location:
inc/public/default-templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • inc/public/default-templates/currywurst/category.html

    r2704 r2775  
    1010 
    1111<tpl:Block name="meta-entry"> 
    12      <meta name="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:CategoryDescription cut_string="180" remove_html="1"}}" /> 
     12     <meta name="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:CategoryDescription encode_html="1" cut_string="180" remove_html="1"}}" /> 
    1313     <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" /> 
    1414     <meta name="date" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 
  • inc/public/default-templates/mustek/category.html

    r2604 r2775  
    66 
    77  <title>{{tpl:CategoryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf></title> 
    8   <meta name="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:CategoryDescription cut_string="180" remove_html="1"}}" /> 
     8  <meta name="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:CategoryDescription encode_html="1" cut_string="180" remove_html="1"}}" /> 
    99  <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 
    1010  <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" /> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map