pugjs/pug

mixin - using #[block] fails

Open

#3004 aperta il 21 apr 2018

Vedi su GitHub
 (7 commenti) (0 reazioni) (0 assegnatari)JavaScript (1955 fork)batch import
Good First Issuebug

Metriche repository

Star
 (21.509 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

The following does not work. The block does not expand. (Interestingly, it does with pug-php.

mixin a()
    span somehting #[block]

+a()
    b text

exptected:

<span>something <b>text</b></span>

Guida contributor