ArthurHub / ArthurHub/HTML-Renderer

text-align:justify breaks words in tags

Offen
#40 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug CSS
Vorherrschende Sprache
C#
Sterne
1.4k
Forks
550
Ø Merge
14 T. 9 Std.
Gemergte PRs (30 T.)
1

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
csharp
Bereich
frontend
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.