Permalink
Browse files

[fix] Allow dots in attribute values

This fixes `simple` test.
  • Loading branch information...
mmalecki committed Nov 24, 2011
1 parent 52aa693 commit e998bb55793d86b823e615315605bf9856531f15
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/plates.js
View
@@ -21,7 +21,7 @@
),
attr: new RegExp(
- '([-\\w]+)=(?:["\']([-\\w\\s]+)["\'])', // '([-\\w]+)=(?:([-\\w]+)|["\']([-\\w\\s]+)["\'])'
+ '([-\\w]+)=(?:["\']([-\.\\w\\s]+)["\'])', // '([-\\w]+)=(?:([-\\w]+)|["\']([-\\w\\s]+)["\'])'
'gi'
),

0 comments on commit e998bb5

Please sign in to comment.