pugjs/pug

mixin - using #[block] fails

Open

#3.004 geöffnet am 21. Apr. 2018

Auf GitHub ansehen
 (7 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (21.509 Stars) (1.955 Forks)batch import
Good First Issuebug

Beschreibung

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>

Contributor Guide