pugjs/pug

mixin - using #[block] fails

Open

#3.004 aberto em 21 de abr. de 2018

Ver no GitHub
 (7 comments) (0 reactions) (0 assignees)JavaScript (1.955 forks)batch import
Good First Issuebug

Métricas do repositório

Stars
 (21.509 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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>

Guia do colaborador