Show underlines even when first label has no message#114
Show underlines even when first label has no message#114zesterer merged 3 commits intozesterer:mainfrom
Conversation
|
Thanks, this seems like a sensible change! I'll try to find some time to review this over the next day or two, I'm not sure I can assure myself of its correctness at just a glance. |
a9cb338 to
47acc5b
Compare
|
Resolved merge conflicts and rebased onto current |
|
Thanks! Looks like there's a failure in the tests now though. |
|
The test failure is independent of this change: It also occurs on main. I think it’s caused by a change in yesterday’s release of |
|
Thanks so much for the PR, sorry it took so long to get merged! |
|
Thanks! |
In ariadne v0.3.0, any label would cause its span to be underlined, but also add blank lines to the output even when it had no message.
In v0.4.0, the extraneous blank lines were removed, but the behaviour regarding underlines was also changed: When the first label has no message set, no underlines at all are shown:
(Based on
examples/simple.rswithoutcompact.)This will show
But when the first label for
ahas a message, all spans have underlines:With this PR, underlines will be shown regardless of whether the first label has a message: