Alir3z4 / Alir3z4/html2text

Add a space if none exists following an img alt

未关闭
#360 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
2.2k
派生
296
PR 合并指标
30 天内没有已合并 PR

描述

For example the following is not a great rendering, and could generate incorrect results for ie a screen-reader for accessibility:
```
$ echo 'helloworld' | html2text --images-to-alt
helloworld
```

Expected output would be:
```
hello world
```

(There are probably several other cases of this conceptual bug, for example involving `

` tags. Those may warrant separate tickets depending on how this ticket is received.)

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。