bminer / node-blade

Blade - HTML Template Compiler, inspired by Jade & Haml
Other
320 stars 28 forks source link

how to unescape javascript in tag attr? #77

Closed crapthings closed 12 years ago

crapthings commented 12 years ago
a(href='/hr/employee' + employee._id)= employee.name

i want to add some string before employee._id ? how to do it ?

crapthings commented 12 years ago

okay i've got it, just remove the spaces.

a(href='/hr/employee'+employee._id)= employee.name