pugjs/pug

mixin - using #[block] fails

Open

#3,004 创建于 2018年4月21日

在 GitHub 查看
 (7 评论) (0 反应) (0 负责人)JavaScript (21,509 star) (1,955 fork)batch import
Good First Issuebug

描述

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>

贡献者指南

mixin - using #[block] fails · pugjs/pug#3004 | Good First Issue