ariatemplates / hashspace

JavaScript client-side template engine
http://hashspace.ariatemplates.com
Apache License 2.0
14 stars 18 forks source link

fix #154 SVG attributes syntax #291

Closed marclaval closed 10 years ago

marclaval commented 10 years ago

Small changes in the PEG grammar to support the use cases from @benouat in issue #154

benouat commented 10 years ago

@PK1A It's not just the : issue. It's also to have an svg with a d attribute inside a <path> that is written using line breaks !

PK1A commented 10 years ago

@benouat OK, got you. Still we could make it a bit shorter, right? ;-)

marclaval commented 10 years ago

I updated the PR to ensure that there at most one : per attribute name.

The sample could be shorter, but it does the job, so let's keep it.

coveralls commented 10 years ago

Coverage Status

Coverage remained the same when pulling 86e7ceb9df450d3c32010ac2d18125f3b5829bef on mlaval:issue154 into a3c20cdf3caf5b83aab6560b7be10eadbda806ed on ariatemplates:master.