diff --git a/lib/modules/ai_helper/open_ai_prompt.rb b/lib/modules/ai_helper/open_ai_prompt.rb index 2f27d54e..dddec2c9 100644 --- a/lib/modules/ai_helper/open_ai_prompt.rb +++ b/lib/modules/ai_helper/open_ai_prompt.rb @@ -51,7 +51,7 @@ module DiscourseAi cooked_text = PrettyText.cook(text) cooked_suggestion = PrettyText.cook(suggestion) - DiscourseDiff.new(cooked_text, suggestion).inline_html + DiscourseDiff.new(cooked_text, cooked_suggestion).inline_html end def parse_content(type, content)