Changeset 2131

Show
Ignore:
Timestamp:
01/24/05 07:33:50 (4 years ago)
Author:
saxmatt
Message:

Feed escaping fixes to other feeds - http://mosquito.wordpress.org/view.php?id=720

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-atom.php

    r2070 r2131  
    3333        <issued>  <?php the_time('Y-m-d\TH:i:s\Z'); ?></issued> 
    3434        <?php the_category_rss('rdf') ?> 
    35         <summary type="text/html" mode="escaped"><?php the_excerpt_rss(); ?></summary> 
     35        <summary type="text/html" mode="escaped"><![CDATA[<?php the_excerpt_rss(); ?>]]></summary> 
    3636<?php if (!get_settings('rss_use_excerpt')) : ?> 
    3737    <?php if ( strlen( $post->post_content ) ) : ?> 
  • trunk/wp-rss.php

    r2068 r2131  
    2727if (get_settings('rss_use_excerpt')) { 
    2828?> 
    29             <description><?php the_excerpt_rss() ?></description> 
     29            <description><![CDATA[<?php the_excerpt_rss() ?>]]></description> 
    3030<?php 
    3131} else { // use content