Permalink
Browse files

Summaries in Atom should properly describe their content, fixes #3377…

…. Hat tip: link92.

git-svn-id: http://svn.automattic.com/wordpress/trunk@4688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent 44691d3 commit f51066891917d1677b7b09402b6cfd5a4038ab0e matt committed Jan 7, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 wp-atom.php
View
@@ -34,7 +34,7 @@
<modified><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></modified>
<issued><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></issued>
<?php the_category_rss('rdf') ?>
- <summary type="text/plain" mode="escaped"><![CDATA[<?php the_excerpt_rss(); ?>]]></summary>
+ <summary type="<?php bloginfo('html_type'); ?>" mode="escaped"><![CDATA[<?php the_excerpt_rss(); ?>]]></summary>
<?php if ( !get_option('rss_use_excerpt') ) : ?>
<content type="<?php bloginfo('html_type'); ?>" mode="escaped" xml:base="<?php permalink_single_rss() ?>"><![CDATA[<?php the_content('', 0, '') ?>]]></content>
<?php endif; ?>

0 comments on commit f510668

Please sign in to comment.