Permalink
Browse files

Apparently the post title is no longer escaped, I was generating errors.

  • Loading branch information...
1 parent 6e52c88 commit 04256e80ee5b9927392a61fcfea3f86d4ef5ce96 @chrismeller committed Sep 17, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 export.plugin.php
View
@@ -330,8 +330,7 @@ private function export_posts ( $export, $content_type = array( 'entry', 'page'
$p->addAttribute( 'post-url', $this->format_permalink( $post->permalink ) );
$p->addAttribute( 'type', $type );
- // the post title is already being escaped somewhere, so don't use overloading to escape it again
- $p->addChild( 'title', $post->title );
+ $p->title = $post->title;
// we use attribute overloading so they get escaped properly
$p->content = $post->content;

0 comments on commit 04256e8

Please sign in to comment.