Skip to content

Commit 86d2d05

Browse files
committed
Fix liquid context inside of liquid files
1 parent e2b212a commit 86d2d05

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ai/liquid.mdc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,8 @@ alwaysApply: true
270270

271271
validation_rules = {
272272
syntax: {
273-
- Use for multiline code
274-
- Use for inline comments
273+
- Use {% liquid %} for multiline code
274+
- Use {% # comments %} for inline comments
275275
- Never invent new filters, tags, or objects
276276
- Follow proper tag closing order
277277
- Use proper object dot notation

ai/sources/_liquid-rules.liquid

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ valid_objects = [
2626

2727
validation_rules = {
2828
syntax: {
29-
- Use {% liquid %} for multiline code
30-
- Use {% # comments %} for inline comments
29+
- Use {% raw %}{% liquid %}{% endraw %} for multiline code
30+
- Use {% raw %}{% # comments %}{% endraw %} for inline comments
3131
- Never invent new filters, tags, or objects
3232
- Follow proper tag closing order
3333
- Use proper object dot notation

0 commit comments

Comments
 (0)