Skip to content

Commit a342176

Browse files
peterquentinncoden
authored andcommitted
Use pull request foundation#11529 from peterquentin/peterquentin-patch-1 for v6.5.0
a3b25c0 Fix parsing rules, allow filename to contain brackets Signed-off-by: Nicolas Coden <[email protected]>
1 parent 53ab389 commit a342176

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/foundation.interchange.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class Interchange extends Plugin {
115115
rules = this.$element.data('interchange');
116116
}
117117

118-
rules = typeof rules === 'string' ? rules.match(/\[.*?\]/g) : rules;
118+
rules = typeof rules === 'string' ? rules.match(/\[.*?, .*?\]/g) : rules;
119119

120120
for (var i in rules) {
121121
if(rules.hasOwnProperty(i)) {

0 commit comments

Comments
 (0)