Skip to content

Commit

Permalink
Merge pull request #325 from kevinpapst/fixes-content
Browse files Browse the repository at this point in the history
  • Loading branch information
benbalter authored Oct 17, 2024
2 parents eab5a0a + d32afdb commit 403fc70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jekyll-exporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ function convert_content( $post ) {
}
}

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

0 comments on commit 403fc70

Please sign in to comment.