attrs-data.pug 238 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 - var user = { name: 'tobi' } foo(data-user=user) foo(data-items=[1,2,3]) foo(data-username='tobi') foo(data-escaped={message: "Let's rock!"}) foo(data-ampersand={message: "a quote: " this & that"}) foo(data-epoc=new Date(0))