Answer the question
In order to leave comments, you need to log in
Is it possible to insert the value of a variable into a tag attribute?
Is it possible in pug to insert the value of a variable into a tag attribute? My case:
-var email = 'blabla.bla.ru'
a(href='mailto:#{email}') #{email}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question