Dotclear


Ignore:
Timestamp:
03/18/16 11:10:10 (9 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Do not keep html tags in blog description other that in <body> or in xml html-type fields

File:
1 edited

Legend:

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

    r3017 r3226  
    1515               </tpl:Block>   <!-- meta-robots --> 
    1616               <tpl:Block name="meta-entry"> 
    17                     <meta name="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription cut_string="180" encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" /> 
     17                    <meta name="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription cut_string="180" remove_html="1" encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" /> 
    1818                    <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" /> 
    1919                    <meta name="date" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 
     
    2929               <tpl:Block name="dc-entry"> 
    3030                    <meta property="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" /> 
    31                     <meta property="dc.description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription encode_html="1"}}" /> 
     31                    <meta property="dc.description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription remove_html="1" encode_html="1"}}" /> 
    3232                    <meta property="dc.language" content="{{tpl:BlogLanguage}}" /> 
    3333                    <meta property="dc.date" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map