pugjs/pug

mixin - using #[block] fails

Open

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

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

仓库指标

Star
 (21,509 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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>

贡献者指南