posthtml/posthtml-include

Allow self-closing `<include ... />` tag

alexreg opened this issue · 5 comments

This makes more sense compared to <include ...></include>.

Scrum commented

@alexreg Hi, use options for posthtml singletags

Thanks. I don't think this does what I want though. Shouldn't PostHTML just have built-in support for self-closing tags, like <img />?

Scrum commented

it has a list of self-closing tags according to the documentation, it is not include in this list)

Shouldn't include be added then?

Scrum commented

no, because this is the specificity of the render