Inline span padding inside a link is dropped (quote-mark padding-right: 0.15em)
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
- 68/100
Línea de trabajo
Start by tracing how HTML inside RichText is converted, using the provided anchor, span, and CSS example as the reproduction case. Check the existing conversion tests for inline typography and color to find where box properties are handled. Done means the span’s em-relative padding, and any margin, survive conversion while the existing inline formatting remains intact.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Found importing https://javisantana.com/ with Blocks Engine trunk (v0.51.7 plus #6963, #6964 and #6968). After those fixes, this is the only remaining pixel difference the fidelity compare reports on the homepage, at 390, 768 and 1440.
Problem
An inline span's horizontal padding inside a link is dropped:
<a class="t" href="…"><span class="qm">“</span><i>Learn to cook</i></a>
.post-list .row.q .qm { font-style: normal; border: 0; padding-right: 0.15em; }
At 15px the source puts the <i> at x = 482.89; WordPress puts it at x = 480.64. The 2.25px is exactly the span's padding-right: 0.15em. Colour, font, width and underline all match, so this padding is the only difference. Every quote row on the homepage list (.row.q) is affected.
Expected
Box properties (padding, and margin if present) of an inline element that is kept inside RichText survive conversion, the way inline typography and colour do, and stay em-relative.
🤖 Generated with Claude Code
- Lenguaje dominante
- PHP
- Estrellas
- 29
- Forks
- 6
- Merge medio
- 3 h 40 min
- PR fusionados (30 d)
- 813
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la 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 Automattic/blocks-engine
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Automattic/blocks-engine#4943 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Automattic/blocks-engine#4942 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Automattic/blocks-engine#4921 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Automattic/blocks-engine#775 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 12/100
Automattic/blocks-engine#7505 ·
Los mantenedores suelen responder en 1 día
Todos los issues de Automattic/blocks-engine
Issues similares
-
OpenRouter errors returned in a 200 body are thrown as a plain AiExceptionPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
Los mantenedores suelen responder en 2 días
-
sync-en
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
魚島清理:地圖焦點樣式、行走計時器、魚照片替代文字Abiertosize:S
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
blackie0424/tao_among#184 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
bug type reconciliation
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
vimeo/psalm#14927 · 1 comentario ·
Los mantenedores suelen responder en 1 día