Alir3z4 / Alir3z4/html2text

Trailing line break in list element should be ignored

Abierto
#150 0 comentarios 2 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Python
Estrellas
2.2k
Forks
296
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Give the following HTML:
```


  • Item 1

  • Item 2


```

the following Markdown will be generated:
```
* Item 1 \n\n* Item 2
```

Which will actually be interpreted as two distinct unordered lists instead of one list with two entries. It seems that removing trailing line breaks from list items would make for a better semantic translation.

- Version by 2016.9.19
- Python version 2.7.6

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.