Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

read: two lists side by side come back as one list

Abierto
#205 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
72/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
go, markdown
Área
cli, content

Línea de trabajo

Begin with the read and export entry points and the table property test referenced in #55; trace how adjacent ordered and unordered lists are rendered and read back. Confirm the fix preserves separate lists across top-level blocks, layout cells, macro bodies, and raw table cells, and that the property test's round trip no longer merges them.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug

Problem

read and export write two adjacent lists of the same kind with a blank line between them, and Markdown reads that as one loose list, so the next publish merges them. Found by the table property test in #55.

Reproduced 2026-09-25 (read → publish):

storage read writes publish sends
<ol><li>a</li></ol><ol><li>b</li></ol> 1. a blank line 1. b one <ol> with two items, each wrapped in <p> (a loose list)
<ul><li>a</li></ul><ul><li>b</li></ul> - a blank line - b one <ul> with two items, each wrapped in <p>

Two lists become one, and the items gain paragraph spacing. It happens anywhere read writes blocks: the top level, layout cells, macro bodies and raw table cells. The table property test's generator avoids writing adjacent lists so that it does not fail on this.

Notes

  • CommonMark ends a list when the bullet character changes (- then *) or the ordered delimiter changes (. then )), and an HTML comment between the two (<!-- -->) also separates them. Changing the marker is the least noisy fix, but it has to survive the next read, so the Markdown stays a fixed point.
Lenguaje dominante
Go
Estrellas
2
Forks
0
Merge medio
2 h 29 min
PR fusionados (30 d)
60

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de mozilla/markfluence

Todos los issues de mozilla/markfluence

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.