Alir3z4 / Alir3z4/html2text

Add a space if none exists following an img alt

Offen
#360 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
2.2k
Forks
296
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.)

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.