ArthurHub / ArthurHub/HTML-Renderer
text-align:justify breaks words in tags
- Lenguaje dominante
- C#
- Estrellas
- 1.4k
- Forks
- 550
- Merge medio
- 14 d 9 h
- PR fusionados (30 d)
- 1
Descripción
When using text-align:justify the renderer leaves spaces before and after every tag
for example the text:
The HTMLrenderer Lorem ipsum dolor sit amet, per ex melius deserunt perpetua. Sed in mucius ancillae, per sint equidem in. Qui ne ceteros eleifend omittantur. Sea natum appellantur an, ex sit autem adversarium. Suas aliquam deserunt cu mei
is renderered as
The HTML rend erer Lorem ipsum dolor sit amet, per ex melius deserunt perpetua. Sed in mucius ancillae, per sint equidem in. Qui ne ceteros eleifend omittantur. Sea natum appellantur an, ex sit autem adversarium. Suas aliquam deserunt cu mei
--------------------------
This happens when the **tag ** (in the example **Bold**) is in all but the last line
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Start by reproducing the supplied text-align:justify example in the HTML renderer, focusing on an inline tag that appears before the final line. Trace the renderer's justification and inline-tag layout handling, then verify that no spaces are inserted around the tag and that the corrected rendering is covered by a regression test.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- csharp
- Área
- frontend
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100