-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Artifacts from double line-breaking #1120
Comments
@cabo I think the issue with spaces in breakpoints of text output has been fixed since v3.20.0.
|
|
The -04 renderings linked above apparently were made with 3.20.1, while the -03 ones (which also exhibit these weirdnesses) were made with 3.20.0. Oh, and the U+2028 that I introduced in -04 to work about the missing <br in the <annotation content model appears to be ignored in .TXT but heeded in .HTML. (Looking at the HTML with Arc Version 1.36.0 (48035), which uses Chromium Engine Version 123.0.6312.87.) |
This is how https://www.ietf.org/archive/id/draft-ietf-cbor-cddl-more-control-04.html#C Looks similar. Maybe this is indeed an artifact of browser line breaking preferring line-breaking after the hyphen; let's focus on the .TXT weirdness then. |
Describe the issue
In some cases, the renderer line-breaks some text to an imaginary width; the text renderer then again line-breaks the result of that to the actual width, while the HTML renderer generates HTML with unnecessarily pre-broken lines (and line-broken to the incorrect imaginary width)
.
In the text rendering this leads to introducing spaces at break points in the middle of the line.
This can be seen in
www.open- std.org
(note the spurious space) in the[C]
reference in 0txt.The HTML has an unnecessarily early line-break 0html.
(A likely related problem can be seen with the datatracker-specific rendering, e.g. at 1.)
The PDF rendering obtained from the author tools looks right, though; this could be a coincidence.
Code of Conduct
The text was updated successfully, but these errors were encountered: