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

Text show rules don't work across text nodes #86

Closed
laurmaedje opened this issue Sep 22, 2022 · 4 comments · Fixed by #4876
Closed

Text show rules don't work across text nodes #86

laurmaedje opened this issue Sep 22, 2022 · 4 comments · Fixed by #4876
Labels
bug Something isn't working styling About set and show rules or style properties

Comments

@laurmaedje
Copy link
Member

Since this produces two text nodes Text("A") and Text("/B"), the show rule doesn't work.

#show "A/B" as "Nope"
A/B
@reknih reknih added the bug Something isn't working label Apr 5, 2023
@astrale-sharp
Copy link
Contributor

I'm giving some attention to this

@astrale-sharp
Copy link
Contributor

Okay, I can't reproduce the bug, this issue should be closed I think

@laurmaedje
Copy link
Member Author

This reproduces it:

#show "A  B": "Nope"
A  B

Some lexer changes made the original thing work, but the bug still exists.

@astrale-sharp
Copy link
Contributor

#show "A  B--C": "Nope"

doesn't work but your previous example does now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working styling About set and show rules or style properties
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants