translate-tools/linguist

Paragraph with bold text under it will break continuity

Aperta

#413 aperta il 10 mar 2024

 (2 commenti) (0 reazioni) (0 assegnatari)TypeScript (50 fork)auto 404
code qualityenhancementgood first issue

Metriche repository

Star
 (1033 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor