Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit 0e9ffe0

Browse files
authored
Get WordPress post content _with_ paragraph tags
1 parent 015e240 commit 0e9ffe0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Exporter.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ private function setPosts($type = 'post')
6363
'order' => date("Y-m-d", strtotime($post->post_date)),
6464
'data' => array(
6565
'title' => $post->post_title,
66-
'content' => $post->post_content,
66+
'content' => wpautop($post->post_content),
6767
'author' => $author,
6868
),
6969
'categories' => array_map(function ($category) {

0 commit comments

Comments
 (0)