Skip to content

Commit 0c83993

Browse files
authored
Merge pull request #1009 from Codeinwp/bugfix/pro/770
Removed double quotes from paraphrased text
2 parents ed6ba2a + 00584dc commit 0c83993

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/admin/feedzy-rss-feeds-actions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ private function chat_gpt_rewrite() {
472472
$openai = new \Feedzy_Rss_Feeds_Pro_Openai();
473473
$rewrite_content = $openai->call_api( $this->settings, $content, '', array() );
474474
// Replace prompt content string for specific cases.
475-
$rewrite_content = str_replace( explode( '{content}', $prompt_content ), '', $rewrite_content );
475+
$rewrite_content = str_replace( explode( '{content}', $prompt_content ), '', trim( $rewrite_content, '"' ) );
476476
return $rewrite_content;
477477
}
478478

0 commit comments

Comments
 (0)