Please update to the new v3.0.3 release of pug as soon as possible as it contains a security fix for a potential remote code execution vulnerability: github.com/pugjs/pug/release…
Two reasons:
1. The key is optional, but the value is required, so the optional part comes after the required part.
2. It matches the parameter order for JavaScript’s array.forEach
The other reason is it would be difficult to change now.
Pug retweeted
🐶 What about a native support of @pug_js as template syntax for @vuejs #components? It's now available and you can already play with it 🤗
Try it now 👉 webcomponents.dev/edit/c7vij…
#vuejs #js #pug
Pug retweeted
Generate @pug_js mixins from SVG files automatically to be used in Pug templates.
github.com/rajasegar/svpug
Today's pug release includes a critical security update. Please upgrade as soon as possible: github.com/pugjs/pug/securit…
pugjs.org/language/includes.…
`include:escape-html othertemplate` should work, unless you want to filter the result of rendering the other template. You could do that with `include:escape-html:pug othertemplate` it won't have access to locals though because filters are compile time.
Pug retweeted
No idea why @pug_js is not more popular <3
Pug retweeted
Replying to @figma
If you try this out, please post your feedback here: github.com/pugjs/pug/issues/…
A new release of pug is landing very soon, with support for filters that operate on Buffers (e.g. import a png and filter it to an img tag with base64 URL) and `each ... of ...` syntax that is more efficient than `each ... in ...`. You can try it now via `npm i pug@canary`
Pug retweeted
[R2D6] Started using @pug_js today and I have happy tears about how tidy it is 😭❤️
👈 .pug
👉 .HTML
#100DaysOfCode #CodeNewbie #DEVCommunity
Pug retweeted
Replying to @CoinNewsSpan
@CoinNewsSpan thank you for your $100 donation to @pug_js 🙏 - your contribution makes a difference!
opencollective.com/pug
You can now buy a support contract for Pug on opencollective.com/pug (see also, the FAQ: github.com/opencollective/op…)
Pug retweeted
Pug.js to make your life easier with HTML templates by @thatisuday at #ITNEXT. @pug_js is a #HTML templating engine, which means you can write much simpler #Pug code. #javascript @JavaScript #nodejs @nodejs #jade buff.ly/2qoKIZN
Pug retweeted
Today in engineering: Googled how to change the border color while using @pug_js. Found out how adorable border collie pug mixes are!!













