Convert acf/gutenberg markup to html
When you use the_content() the the_content hook gets applied to the content, which is when blocks get rendered into HTML. This hook doesn’t run when using get_the_content(), so you’ll need to run it manually: $content = get_the_content(); $content = apply_filters( ‘the_content’, $content );