Commit 8cfa60e
committed
Fixed regex: now accepts 1-letter attributes
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="1 parent e2e19cd commit 8cfa60e
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments