Skip to content

Conversation

@lucapierobon
Copy link
Contributor

Fixed htmlparser.js so that attributes whose name is just one letter are accepted.
For instance <rect x="50" y="20" width="150" height="150">
wasn't recognized, despite of being formally correct: the regular expression stopped before "x="

Fixed htmlparser.js so that attributes whose name is just one letter are
accepted.
For instance  <rect x="50" y="20" width="150" height="150">
wasn't recognized, despite of being formally correct: the regular
expression stopped before "x="
blowsie added a commit that referenced this pull request Mar 5, 2015
Fixed regex: now accepts 1-letter attributes
@blowsie blowsie merged commit 8afa258 into blowsie:master Mar 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants