ContainsRelRef should not be triggered by anchor links

Abierto
#47 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
52/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
html, python
Área
backend

Línea de trabajo

Find the validator logic that emits the ContainsRelRef warning and inspect the existing tests covering relative references. Update the behavior so URLs beginning with # are treated as same-document anchors rather than relative resources. Run the relevant validator test suite and confirm that ordinary relative URLs still produce the warning.

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

Descripción

The docs state that relative URLs cannot be fetched by some feed readers that might look for filesystem paths rather than web resources.

Anchor URLs should be acceptable since they should just refer to locations in the current document. Example:

Jump to the <a href="#tldr">TLDR</a> at the bottom.

(I wanted to start a discussion about whether this is a good idea, but all the URLs to the mailing lists in the docs are dead).

Lenguaje dominante
Python
Estrellas
135
Forks
67
Merge medio
2 d 51 min
PR fusionados (30 d)
4

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

  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 w3c/feedvalidator

Todos los issues de w3c/feedvalidator

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.