Skip to content
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

Broken or unsightly iref links after line breaks after #5151 #6504

Closed
ecatmur opened this issue Aug 22, 2023 · 2 comments
Closed

Broken or unsightly iref links after line breaks after #5151 #6504

ecatmur opened this issue Aug 22, 2023 · 2 comments

Comments

@ecatmur
Copy link

ecatmur commented Aug 22, 2023

After #5151, some iref links are broken or unsightly where the iref parameter list extends across a line break; for example,

draft/source/basic.tex

Lines 600 to 601 in 1c22d62

type \tcode{T}\iref{conv,expr.type.conv,
expr.dynamic.cast,expr.static.cast,expr.cast}, or
renders as:

an expression is converted (either implicitly or explicitly) to type T ([conv], [expr.type.conv], [ expr.dynamic.cast], [expr.static.cast], [expr.cast]), or

and

draft/source/basic.tex

Lines 3725 to 3726 in 1c22d62

the operand of a cast or conversion\iref{conv.integral,
expr.type.conv,expr.static.cast,expr.cast}
as:

the operand of a cast or conversion ([conv.integral], [ expr.type.conv], [expr.static.cast], [expr.cast]) to an unsigned ordinary character type or std​::​byte type ([cstddef.syn]), or

In the first case, the iref to expr.dynamic.cast has unsightly extra space but the link works, but in the second case the link to expr.type.conv is itself broken, having extra spaces within the link target, probably because the second case is indented.

@JohelEGP
Copy link
Contributor

Sounds like an issue for https://github.com/Eelis/cxxdraft-htmlgen, not this repository.

@ecatmur
Copy link
Author

ecatmur commented Aug 23, 2023

Thanks!

@ecatmur ecatmur closed this as completed Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants