Skip to content

Commit

Permalink
Update SiteGen.php
Browse files Browse the repository at this point in the history
  • Loading branch information
abhijitb authored Jan 30, 2024
1 parent 127d535 commit 661212e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/SiteGen/SiteGen.php
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ public static function get_content_for_page(
}
$parsed_response = json_decode( wp_remote_retrieve_body( $response ), true );
if( ! array_key_exists( 'error', $parsed_response['content'] ) ) {
$parsed_response['content'] = implode( ' ', $parsed_response['content'] );
$parsed_response['content'] = implode( '', $parsed_response['content'] );
}
return $parsed_response['content'];
}
Expand Down

0 comments on commit 661212e

Please sign in to comment.