HTML <picture> Element not returned as image link from srcset
- Langage dominant
- Python
- Étoiles
- 2.2k
- Forks
- 296
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
The image link from the `srcset` is not returned in the markdown return in the \ html element. I expect it to be returned like if the image src was in the \ html element.
Code snippet example:
```python
import html2text
html = """
Poorly drawn lines comics
This is one of my most favorite recent comics. Comes in print too. I want it for my home.
"""
md = html2text.html2text(html)
print(md)
```
Actual Output:
```
# Poorly drawn lines comics
This is one of my most favorite recent comics. Comes in print too. I want it
for my home.
```
Expected Output:
- includes the image link (though I'm not particular for which one)
- same result as if using the \ html element
```
# Poorly drawn lines comics

This is one of my most favorite recent comics. Comes in print too. I want it
for my home.
```
- Version by `html2text --version` 2020.1.16
- Python version `python --version` 3.9.13
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.