translate-tools/linguist

Paragraph with bold text under it will break continuity

Open

#413 opened on Mar 10, 2024

 (2 comments) (0 reactions) (0 assignees)TypeScript (50 forks)auto 404
code qualityenhancementgood first issue

Repository metrics

Stars
 (1,033 stars)
PR merge metrics
 (PR metrics pending)

Description

I've noticed that when HTML is formatted in such a way

<p>
    This sentence works until this HTML <b>broke</b>
</p>

The broke part will get translated on its own without context, which can lead to bad results.

I'm not too sure though how this could be tackled as sending all the text to a translator and knowing where the bold is will be kind of hard to figure out.

Contributor guide