mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-02-16 16:34:45 +00:00
FIX: Use cooked suggestion when generating a diff (#13)
This commit is contained in:
parent
5571babb63
commit
75aa595105
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user