Skip to content Skip to sidebar Skip to footer
Showing posts with the label Pug

Pug (jade) Extra Space Added Between Formatted Tags On Gulp Build

I use Gulp, webpack and pug(jade). The issue is with the dist-code that has an extra space because … Read more Pug (jade) Extra Space Added Between Formatted Tags On Gulp Build

Warning: Unexpected Block "scripts" Jade

I wrote a jade file as shown below: extends layout block content h1= title p Welcome 123 to #{… Read more Warning: Unexpected Block "scripts" Jade

How To Make Jade Stop Html Encoding Element Attributes, And Produce A Literal String Value?

UPDATE Jade v0.24.0 fixes this with a != syntax for attributes. option(value!=' ') I'm… Read more How To Make Jade Stop Html Encoding Element Attributes, And Produce A Literal String Value?

Parsing Data From Database In Pug

I have this data in my mongo database which I can't control as data exported from my applicatio… Read more Parsing Data From Database In Pug

How To Escape <> In Javascript Underscore Template?

when using underscore template i want to interpolate a value in anchor's href attribute like a(… Read more How To Escape <> In Javascript Underscore Template?

How To Add Br Tag With Jade HTML

I need add br tag but this not working. table tbody td Juan Perez td 01 33 445… Read more How To Add Br Tag With Jade HTML