translate-tools/linguist

Paragraph with bold text under it will break continuity

开放

#413 创建于 2024年3月10日

 (2 条评论) (0 个反应) (0 位负责人)TypeScript (50 个派生)auto 404
code qualityenhancementgood first issue

仓库指标

星标
 (1,033 个星标)
PR 合并指标
 (平均合并 23小时 2分钟) (30 天内合并 2 个 PR)

描述

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.

贡献者指南