We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5aa9492 commit 656ead4Copy full SHA for 656ead4
app/services/discourse_ai/translator.rb
@@ -29,7 +29,7 @@ def translate
29
feature_name: "translator-translate",
30
)
31
32
- (Nokogiri::HTML5.fragment(llm_translation).at("translation")&.text || llm_translation)
+ (Nokogiri::HTML5.fragment(llm_translation).at("translation")&.inner_html || llm_translation)
33
end
34
35
private
0 commit comments