akdubya / dustjs

Asynchronous templates for the browser and node.js
http://akdubya.github.com/dustjs/
MIT License
1.44k stars 131 forks source link

Allow colons in keys #73

Open chasingmaxwell opened 9 years ago

chasingmaxwell commented 9 years ago

I'm working on an application which consumes hal+json documents and uses dustjs for templating. The spec for hal+json documents the use of Curie syntax for link relations which includes colons in the key. Dust doesn't like colons in keys. Can we fix that?

jimmyhchan commented 9 years ago

you may want to follow the LinkedIn fork in particular linkedin/dustjs#229. It's something we ran into early on but don't have a good syntax for.