Skip to content

[BUG] - DeepL is not putting content in their original place, it's putting inside an HTML tag (it shouldn't) #120

Open
@patrickReiis

Description

@patrickReiis

I am using the free tier, but it happens with the paid tier as well.

Steps to reproduce in Postman:
1 - Copy and paste the following endpoint, with a method of POST:

https://api-free.deepl.com/v2/translate

2 - Put the body as JSON, and copy and paste the following:

{"text": ["<span class=\"recipients-inline\"><span class=\"h-card\"><a class=\"u-url mention\" href=\"http://localhost:4036/@npub1vxd0dfst8ljvwva2egrpc53ve8ru78v8aaxfpravchkexmfmmu3sqnrs50\" rel=\"ugc\">@<span>npub1vxd</span></a></span> </span>Notícia como essa me embrulha o estômago."], "target_lang": "EN", "split_sentences": "1", "tag_handling": "html"}

3 - Click Send

As you'll see in the response, the word News is inside the <span> tag, but it shouldn't be.

This is a big deal because it hides the word News in the frontend UI.

Response returned: postman-response.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions