Skip to content

Commit

Permalink
feat: set html format for libretranslate translation engine (#724)
Browse files Browse the repository at this point in the history
to allow to translate html code
  • Loading branch information
farfromrefug committed Aug 28, 2023
1 parent 1b0ffc0 commit 68b01ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/translators/engines/libretranslate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export default class LibreTranslate extends TranslateEngine {
q: options.text,
source: from,
target: to,
format: "html",
}, {
headers: {
'Content-Type': 'application/json',
Expand Down

0 comments on commit 68b01ec

Please sign in to comment.