Skip to content

Commit

Permalink
Update grammar to allow variables to be detected inside style tags
Browse files Browse the repository at this point in the history
  • Loading branch information
aswamy committed Jan 3, 2025
1 parent ce2347f commit 5b01888
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/soft-moose-smell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/liquid-html-parser': patch
---

[Bug Fix] Update grammar to allow liquid variables to be detected inside style tags
1 change: 0 additions & 1 deletion packages/liquid-html-parser/grammar/liquid-html.ohm
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ Liquid <: Helpers {
| liquidRawTagImpl<"javascript">
| liquidRawTagImpl<"schema">
| liquidRawTagImpl<"stylesheet">
| liquidRawTagImpl<"style">
liquidRawTagImpl<name> =
"{%" "-"? space* (name endOfIdentifier) space* tagMarkup "-"? "%}"
anyExceptStar<liquidRawTagClose<name>>
Expand Down

0 comments on commit 5b01888

Please sign in to comment.