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

Ensure multiple theme(spacing[5]) calls with bracket notation in arbitrary properties work #11039

Merged
merged 2 commits into from
Apr 19, 2023

Commits on Apr 19, 2023

  1. ensure that last ] doesn't stop the match

    Given this input:
    ```html
    <div class="[width:_calc(theme(spacing[5])_+_theme(spacing[5]))]"></div>
    ```
    
    Then we would expect the match to be this:
    ```
    [width:_calc(theme(spacing[5])_+_theme(spacing[5]))]
    ```
    
    However, with the `?`, then it would stop and result in:
    ```
    [width:_calc(theme(spacing[5])_+_theme(spacing[5]
    ```
    
    Which makes it incomplete because the `))]` are missing at the end.
    RobinMalfait committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    0e48e77 View commit details
    Browse the repository at this point in the history
  2. update changelog

    RobinMalfait committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    9f84ad3 View commit details
    Browse the repository at this point in the history