Skip to content

Commit 403fc70

Browse files
authored
Merge pull request #325 from kevinpapst/fixes-content
2 parents eab5a0a + d32afdb commit 403fc70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jekyll-exporter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ function convert_content( $post ) {
245245
}
246246
}
247247

248-
$content = apply_filters( 'the_content', $post->post_content );
248+
$content = get_the_content(null, false, $post);
249249
$converter_options = apply_filters( 'jekyll_export_markdown_converter_options', array( 'header_style' => 'atx' ) );
250250
$converter = new HtmlConverter( $converter_options );
251251
$converter->getEnvironment()->addConverter( new TableConverter() );

0 commit comments

Comments
 (0)