We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0d87045 + 0297ad7 commit b9fdc43Copy full SHA for b9fdc43
1 file changed
src/utilities/nodes.ts
@@ -7,7 +7,7 @@ import { LiquidNode } from './types.js'
7
8
const LIQUID_BLOCK_REGEX = /{%-?.*?-?%}/gs
9
const LIQUID_COMMENTS_REGEX = /{%-?\s*comment\s*-?%}[\S\s]*?{%-?\s*endcomment\s*-?%}/gi
10
-const LIQUID_RENDER_REGEX = /\s(?:render|include)\s+'([^']+)'/gs
+const LIQUID_RENDER_REGEX = /\s(?:include|render|inject)\s+'([^']+)'/gs
11
const ASSET_URL_REGEX = /{{\s*'([^']+\.js)'\s*\|\s*asset_url\s*}}/g
12
const SCRIPT_TAG_REGEX = /<script[^>]*>[\S\s]*?<\/script>/g
13
const SCRIPT_IMPORT_REGEX = /import\s+["']([^"']+)["']/g
0 commit comments