40ants / 40ants/doc

Nested Markdown lists get flattened in generated HTML

Aberta
#17 4 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Common Lisp
Estrelas
29
Forks
7
Merge médio
1h 42min
PRs com merge (30d)
4

Descrição

Nested Markdown lists result in incorrect HTML generated, which puts them all at the same level, unless there is a switch between ordered and unordered lists, in which case they're properly nested. Repro:

```common-lisp
(defsection @repro (:title "Incorrect HTML generated from Markdown")
"Consider this list:

- Item 1
- Item 2
- Subitem 1
- Subitem 2
- Item 3
* Subitem 3
+ Sub-subitem 1
1. Sub-sub-subitem 1
2. Sub-sub-subitem 2")
```
```
CL-USER> (40ants-doc/builder:update-asdf-system-docs clutch/docs::@repro :clutch)
[18:44:10] 40ants-doc/highlight highlight.lisp (download-highlight-js) -
METADATA file lists same languages and theme. Skipping download of Highlight.js
#P"/home/mathrick/Dev/clutch/docs/"
#P"/home/mathrick/Dev/clutch/docs/repro/index.html"
```
This results in the following output:
![flattened-list](https://user-images.githubusercontent.com/179487/185274432-eda9eefb-09ae-4d9b-9018-ee6e2b4253e5.png)

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.