Skip to content

Commit

Permalink
URL regex must allow whitespace (e.g. data uri svg) cytoscape#1747 cy…
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkfranz authored and d2fong committed Mar 31, 2017
1 parent 24610a0 commit 96c8ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/style/properties.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ var styfn = {};
var urlRegexes = [
'^url\\s*\\(\\s*[\'"]?(.+?)[\'"]?\\s*\\)$',
'^(none)$',
'^(\\S+)$'
'^(.+)$'
];

// each visual style property has a type and needs to be validated according to it
Expand Down

0 comments on commit 96c8ac4

Please sign in to comment.