File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import cloneNodes from '../../util/cloneNodes'
66let env = sharedState . env
77let contentMatchCache = sharedState . contentMatchCache
88
9- const BROAD_MATCH_GLOBAL_REGEXP = / [ ^ < > " ' ` \s ] * [ ^ < > " ' ` \s : ] / g
9+ const BROAD_MATCH_GLOBAL_REGEXP = / ( [ ^ < > " ' ` \s ] * \[ [ ^ < > \s ] + \] ) | ( [ ^ < > " ' ` \s ] * [ ^ < > " ' ` \s : ] ) / g
1010const INNER_MATCH_GLOBAL_REGEXP = / [ ^ < > " ' ` \s . ( ) { } [ \] # = % ] * [ ^ < > " ' ` \s . ( ) { } [ \] # = % : ] / g
1111
1212const builtInExtractors = {
Original file line number Diff line number Diff line change 391391.duration-\[var\(--app-duration\)\] {
392392 transition-duration : var (--app-duration );
393393}
394+ .content-\[\'hello\'\] {
395+ content : 'hello' ;
396+ }
394397.content-\[attr\(content-before\)\] {
395398 content : attr (content-before);
396399}
Original file line number Diff line number Diff line change 111111 < div class ="ring-offset-[19rem] "> </ div >
112112 < div class ="ring-opacity-[var(--ring-opacity)] "> </ div >
113113 < div class ="delay-[var(--delay)] "> </ div >
114+ < div class ="content-['hello'] "> </ div >
114115 < div class ="content-[attr(content-before)] "> </ div >
115116 </ body >
116117</ html >
You can’t perform that action at this time.
0 commit comments