pugjs/pug

mixin - using #[block] fails

Open

#3 004 ouverte le 21 avr. 2018

Voir sur GitHub
 (7 commentaires) (0 réactions) (0 assignés)JavaScript (1 955 forks)batch import
Good First Issuebug

Métriques du dépôt

Stars
 (21 509 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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>

Guide contributeur