posthtml options for singleTags doesn't appear to be working #766
bravecrayon
started this conversation in
General
Replies: 3 comments 1 reply
|
Dug into this a bit and figured out adding posthtml: {
options: {
singleTags: ['custom'],
closingSingleTag: 'slash'
}
} |
0 replies
|
Sorry this took me a while to get to, I'll look into it but I do think that's how PostHTML works (requiring |
0 replies
|
Looked into this a bit more and indeed, setting Is the |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm following the documentation for setting up
singleTagsfor a<custom>element – I think exactly the same use case as in the docs. I feel like I must be doing something silly wrong, but maybe it's a bug?In config.js, I've have:
In
src/layouts/main.html, my expection is it would take this and render it as-is, with tags closed:However, the result I have is:
Thanks!
All reactions