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 (1.955 Forks)batch import
Good First Issuebug

Repository-Metriken

Stars
 (21.509 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

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