Changeset 17005


Ignore:
Timestamp:
2008/01/25 12:07:45 (13 years ago)
Author:
uehara
Message:

#231RSSファイル内にエスケープされていない文字が出力されるとエラーになるバグ改修

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/Smarty/templates/default/rss/index.tpl

    r16583 r17005  
    2525<!--{* channel要素 *}--> 
    2626<channel> 
    27 <title> <!--{$site_title|sf_mb_convert_encoding:$encode}--> </title> 
     27<title> <!--{$site_title|sf_mb_convert_encoding:$encode|escape}--> </title> 
    2828<link> <!--{$smarty.const.SITE_URL}--> </link> 
    29 <description> <!--{$description|sf_mb_convert_encoding:$encode}--> </description> 
     29<description> <!--{$description|sf_mb_convert_encoding:$encode|escape}--> </description> 
    3030<language>ja</language> 
    31 <managingEditor><!--{$email}--></managingEditor> 
    32 <webMaster><!--{$email}--></webMaster> 
     31<managingEditor><!--{$email|escape}--></managingEditor> 
     32<webMaster><!--{$email|escape}--></webMaster> 
    3333<generator>web shoppings v1.0</generator> 
    3434<copyright>(c) COPYRIGHT</copyright> 
     
    4545                <link> <!--{$arrNews[cnt].news_url|escape}--></link> 
    4646            <!--{/if}--> 
    47             <title> <!--{ $arrNews[cnt].news_title|sf_mb_convert_encoding:$encode }--> </title> 
    48             <description><!--{$arrNews[cnt].news_comment|truncate:256|sf_mb_convert_encoding:$encode}--></description> 
     47            <title> <!--{ $arrNews[cnt].news_title|sf_mb_convert_encoding:$encode|escape }--> </title> 
     48            <description><!--{$arrNews[cnt].news_comment|truncate:256|sf_mb_convert_encoding:$encode|escape}--></description> 
    4949            <!--{* <pubDate><!--{"r"|sf_mktime:$arrNews[cnt].hour:$arrNews[cnt].minute:$arrNews[cnt].second:$arrNews[cnt].month:$arrNews[cnt].day:$arrNews[cnt].year}--></pubDate> *}--> 
    50             <pubDate><!--{$timestamp}--></pubDate> 
     50            <pubDate><!--{$timestamp|escape}--></pubDate> 
    5151        </item> 
    5252    <!--{/section}--> 
Note: See TracChangeset for help on using the changeset viewer.