diff --git a/wp-admin/includes/export.php b/wp-admin/includes/export.php
index a9e8f22..cd3a9d4 100644
--- a/wp-admin/includes/export.php
+++ b/wp-admin/includes/export.php
@@ -138,6 +138,7 @@ function export_wp( $args = array() ) {
 			$str = utf8_encode( $str );
 
 		// $str = ent2ncr(esc_html($str));
+		$str = str_replace(']]>', ']]]]><![CDATA[>', $str);
 		$str = "<![CDATA[$str" . ( ( substr( $str, -1 ) == ']' ) ? ' ' : '') . "]]>";
 
 		return $str;
