Remote file: first heading is replaced with GitHub page HTML
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 68/100
Línea de trabajo
Start by reproducing the command against the GitHub README URLs in the issue and trace the remote README handling, including the commented-out “TOC for remote README.md” test. Done means the first heading produces a normal heading anchor and the existing entries remain correct, while wiki-page behavior is unchanged.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Steps
./gh-md-toc https://github.com/ekalinin/github-markdown-toc/blob/master/README.md
Expected
* [gh-md-toc](#gh-md-toc)
* [Table of contents](#table-of-contents)
...
Actual
The first entry contains GitHub page markup instead of the heading:
* [<button data-component="Button" type="button" aria-label="Expand file tree" ...
* [Table of contents](#table-of-contents)
...
The line is about 30 KB long, its href points to the repository tree URL
(/<owner>/<repo>/tree/<sha>) instead of the heading anchor, and it is indented
as a second-level entry. The other entries are correct.
Reproduced with gh-md-toc 0.10.0. The same happens for
https://github.com/ekalinin/sitemap.js/blob/6bc3eb12c898c1037a35a11b2eb24ababdeb3580/README.md
(the URL from the commented-out "TOC for remote README.md" test).
Wiki pages, e.g. https://github.com/ekalinin/nodeenv/wiki/Who-Uses-Nodeenv, are not affected.
- Lenguaje dominante
- Shell
- Estrellas
- 3.3k
- Forks
- 2.7k
- Merge medio
- 7 min
- PR fusionados (30 d)
- 3
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ekalinin/github-markdown-toc
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
ekalinin/github-markdown-toc#167 ·
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
ekalinin/github-markdown-toc#165 ·
-
[Feature] `--no-code-tag-removal` flag allowing to make removal of backticks in TOC entries optionalAbiertoenhancement
Dificultad 3/5 1-2 días Aptitud para principiantes 58/100
ekalinin/github-markdown-toc#153 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
ekalinin/github-markdown-toc#152 · 1 reacción ·
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
ekalinin/github-markdown-toc#141 ·
Todos los issues de ekalinin/github-markdown-toc
Issues similares
-
bot-found bug priority: P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
madenvel/KalinkaPlayer#179 ·
-
[platform-assessment 2026-09]Abiertodocumentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
jbaruch/coding-policy#621 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
mattpocock/skills#1134 ·
-
area:build bug P3
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
uttrflow/uttrflow-swift#2506 ·
Los mantenedores suelen responder en 1 día