Skip to content

Don't break liquid tags inside attributes when sorting classes#143

Merged
thecrypticace merged 6 commits intomainfrom
fix/liquid-issues
Mar 31, 2023
Merged

Don't break liquid tags inside attributes when sorting classes#143
thecrypticace merged 6 commits intomainfrom
fix/liquid-issues

Conversation

@thecrypticace
Copy link
Copy Markdown
Contributor

There are two hard things in computer science:

  1. Naming things
  2. Cache invalidation
  3. And off-by-one errors sigh lol

Fixes #130
Fixes #141
Fixes #142

@thecrypticace thecrypticace changed the title Fix error when sorting classes in Liquid script Don't break liquid tags inside attributes when sorting classes Mar 31, 2023
@thecrypticace thecrypticace merged commit af16880 into main Mar 31, 2023
@RobinMalfait RobinMalfait deleted the fix/liquid-issues branch March 31, 2023 21:37
bronisMateusz pushed a commit to bronisMateusz/prettier-plugin-tailwindcss-drupal that referenced this pull request Apr 16, 2025
…indlabs#143)

* Revert "Revert "Fix Liquid `capture` sorting (tailwindlabs#135)" (tailwindlabs#140)"

This reverts commit 13dac2b.

* Fix off-by-1 error when String nodes don’t have quotes

* Refactor

* Add tests

* Simplify test cases

* Update changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant