How to export posts and keep html tags in the title

In the file wp-admin/includes/export.php

Within the post loop, line 545, simply replace

$title = apply_filters( 'the_title_rss', $post->post_title );

with

$title = $post->post_title;