Skip to content

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

Closed

Description

@laurmaedje

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

#show "A/B" as "Nope"
A/B

Activity

  1. added
    bug
    on Apr 5, 2023
  2. astrale-sharp commented on Apr 10, 2023

    @astrale-sharp
    Contributor

    I'm giving some attention to this

  3. astrale-sharp commented on Apr 10, 2023

    @astrale-sharp
    Contributor

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

  4. laurmaedje commented on Apr 11, 2023

    @laurmaedje
    MemberAuthor

    This reproduces it:

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

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

  5. astrale-sharp commented on Jun 3, 2023

    @astrale-sharp
    Contributor
    #show "A++B--C": "Nope"
    

    doesn't work but your previous example does now

  6. added
    styling
    on Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugstyling

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions