Skip to content
This repository was archived by the owner on May 31, 2021. It is now read-only.

Commit e4d6797

Browse files
committed
Fix broken syntax with attr/format/url and string concatenation
This was broken: a { content: "(" attr(data-count) ")"; display: none; } #18
1 parent f4915db commit e4d6797

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Syntaxes/PostCSS.tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@
395395
<key>function-content</key>
396396
<dict>
397397
<key>match</key>
398-
<string>(?&lt;=url\(|format\(|attr\().+(?=\))</string>
398+
<string>(?&lt;=url\(|format\(|attr\().+?(?=\))</string>
399399
<key>name</key>
400400
<string>string.quoted.double.css.postcss</string>
401401
</dict>

0 commit comments

Comments
 (0)