ArthurHub / ArthurHub/HTML-Renderer
text-align:justify breaks words in tags
- Langage dominant
- C#
- Étoiles
- 1.4k
- Forks
- 550
- Merge moyen
- 14 j 9 h
- PR mergées (30 j)
- 1
Description
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
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- csharp
- Domaine
- frontend
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100