translate-tools/linguist

Paragraph with bold text under it will break continuity

Ouverte

#413 ouverte le 10 mars 2024

 (2 commentaires) (0 réaction) (0 personne assignée)TypeScript (50 forks)auto 404
code qualityenhancementgood first issue

Métriques du dépôt

Stars
 (1 033 étoiles)
Métriques de merge PR
 (Merge moyen 23h 2m) (2 PRs mergées en 30 j)

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.

Guide contributeur