Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: kirkouimet/tailwindcss
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: tailwindlabs/tailwindcss
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Feb 26, 2026

  1. Extract classes from interpolated expressions in Ruby (tailwindlabs#1…

    …9730)
    
    This PR ensures that interpolated expressions in Ruby syntax are
    correctly extracted.
    
    The issue was that we ignore comments in Ruby syntax (which start with
    `#`). We already made an exception for locals (`<%# locals: … %>`), but
    we also need to handle interpolated expressions (`#{ … }`) in the same
    way because they are not comments.
    
    Fixes: tailwindlabs#19728
    
    ## Test plan
    
    1. Existing tests pass
    2. Added a regression test for this scenario
    3. Tested using the extractor on the given code snippet:
    
    <img width="1461" height="1856" alt="image"
    src="https://github.com/user-attachments/assets/b48f7042-ca9d-4133-87ae-4c37c633c073"
    />
    
    Notice that the `w-100` gets extracted now.
    RobinMalfait authored Feb 26, 2026
    Configuration menu
    Copy the full SHA
    bf2e2fe View commit details
    Browse the repository at this point in the history
Loading